Problem with terrain - game crashes
by SPECS · in Torque Game Engine · 07/01/2008 (4:46 am) · 2 replies
Hello ppl
I am desperate about my game! I have taken the mission from the tutorial.base game and modified the terrain in it (excavating, painting with a couple of textures). Afterwards I wanted to integrate THIS mission in another game I have to develop and everything crashes. I tried run it in a debug mode and I saw that there is a problem with rendering the TerrainBlock (TerrainBlock::renderBlock) but I don't exactly know why. I checked all the links to the textures used for the terrain, and they seem to be on the right place..
What might be the problem??
Thanks for any help!
Nina
I am desperate about my game! I have taken the mission from the tutorial.base game and modified the terrain in it (excavating, painting with a couple of textures). Afterwards I wanted to integrate THIS mission in another game I have to develop and everything crashes. I tried run it in a debug mode and I saw that there is a problem with rendering the TerrainBlock (TerrainBlock::renderBlock) but I don't exactly know why. I checked all the links to the textures used for the terrain, and they seem to be on the right place..
What might be the problem??
Thanks for any help!
Nina
#2
07/01/2008 (4:56 am)
It happens only with the mission / terrain I have modified in tutorial.base and then tried to integrate in another game. I am not using TGEA but the normal TGE 1.2.5
Torque Owner Stefan Lundmark
In our particular case, the FrameAllocator was returning invalid pointers, which made it die inside allocPoints () and renderEdges ().
Just a shot in the dark here, does this happen with all missions/terrains or a specific one?