Troubleshooting
From IrrWizard
Troubleshooting
Q. Game only runs in debug mode when using Dev C++
A. The problem is that Dev C++ dosen't like the 'assert' statement found in the IGameEntity::SetID function, you can comment this out as a work around. (or use debug mode)
//assert ( (val >= m_iNextValidID) && ": invalid ID");
Q. I get strange/random link errors, : cannot find D:\Black.obj......
A. Either the Project name or Irrlicht path contains 'white spaces' when you built the project. Remove any strange characters or white spaces. (Leave defaults and select 'Hello world' project to test this out).
Q. If I fall through the world and then shoot, the game crashes. (release mode only)
A. This has been fixed for next release. (Use debug mode or don't fall through world)
Q. Game crashes when I go from one state to another, or return to a previously visited state.
A. The most common cause are variables not being cleared out correctly. Make sure local variables are cleaned up correctly in the clear() function for each state.
