Oops
The exception was thrown while rendering...
This code was included in a class which was child of CMeshSceneNode and I didn't called copyMaterials() after loading a mesh...
Thanks a lot, the problem is resolved !
I've a problem using meshes and mesh buffers. I want to add a mesh buffer to a mesh : scene::SMesh *testMesh = new scene::SMesh; scene::SMeshBufferLightMap *testBuffer = new scene::SMeshBufferLightMap; testMesh->addMeshBuffer(testBuffer); This codes returns this error (when executed ...