Debug Assertion Failed!
Program: (path to my project)
File: fopen.c
Line: 54
Expression: *file != _T('\0')
For information on how your program can cause an assertion failure, see the Visual C++ documentation on assets.
I am using Visual C++ 6.0. The odd thing here is that if I click “Ignore” then the game runs fine – the 3ds file is loaded correctly – textures and all. However, this error is largely annoying because it surfaces several times for each 3ds file loaded. Obviously the problem regards the loading of the model texture, but this is controlled by the engine and is out of my hands. I do not wish to do it manually.
The 3ds loading code:
Code: Select all
IAnimatedMesh* mesh = smgr->getMesh("land.3ds");
IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( mesh ,0,-1,core::vector3df(0,0,0),core::vector3df(0,0,0),core::vector3df(0.3,0.3,0.3));
Off topic, any plans to update Irrlicht to DirectX 9.0b?