ervilha
16-10-2007 04:12:20
Well, i'm going to try to explain my problem wich is a bit strange.
I'm using the code presented in here to create my terrain geometry collision from the terrain information, or from a previous saved file.
When running the game in the debug mode this code works fine and i can load and unload and repeat this process n times without having problems.
When running in release mode, the first time i load the terrain, the collision files are created and the application run's just fine, but in the release mode after loading the terrain and it's physic's it just crash. The next image show the message and state of the microsoft visual studio:

I've tried to track down the error, but i couldn't find any thing in my code that could crash my application.
Any ideas?
I'm using the code presented in here to create my terrain geometry collision from the terrain information, or from a previous saved file.
When running the game in the debug mode this code works fine and i can load and unload and repeat this process n times without having problems.
When running in release mode, the first time i load the terrain, the collision files are created and the application run's just fine, but in the release mode after loading the terrain and it's physic's it just crash. The next image show the message and state of the microsoft visual studio:
I've tried to track down the error, but i couldn't find any thing in my code that could crash my application.
Any ideas?