Level editor crash on loading
by De Sa Ferreira · in Torque Game Builder · 08/20/2009 (9:15 am) · 2 replies
Hello,
I have a big issue with the level editor. I have added sprites to my project and closed the editor, then reopened it but it crashed on loading the project.
So, I edited my game/managed/datablocks.cs file to remove some sprites and then the loading would work.
So, to sum up : if I add some sprites within the editor it is ok but then the project would not be able to load again, and if I add them directly in the datablocks file it crashes also.
On crashing, the console.log file says in the end :
Also note that I have more than 300 static sprites and more than 200 animated.
One intriguing thing is also that the console.log file has
Lastly i have a Geforce 8800 GT card and 2Gb of RAM. The memory used by the project while loading is kind of low so i do not think this is the problem.
If you have any idea what is going on with my project please let me know.
Thank you.
I have a big issue with the level editor. I have added sprites to my project and closed the editor, then reopened it but it crashed on loading the project.
So, I edited my game/managed/datablocks.cs file to remove some sprites and then the loading would work.
So, to sum up : if I add some sprites within the editor it is ok but then the project would not be able to load again, and if I add them directly in the datablocks file it crashes also.
On crashing, the console.log file says in the end :
Torque Game Builder (v1.7.4) initialized... % Opening Project E:\TorqueGameBuilder-1.7.4\MyGames\Proto\project.t2dProj ... Executing E:/TorqueGameBuilder-1.7.4/MyGames/Proto/game/managed/datablocks.cs. Executing E:/TorqueGameBuilder-1.7.4/MyGames/Proto/game/managed/persistent.cs. Executing E:/TorqueGameBuilder-1.7.4/MyGames/Proto/game/managed/brushes.cs. Executing E:/TorqueGameBuilder-1.7.4/MyGames/Proto/game/behaviors/splashScreen.cs. Executing E:/TorqueGameBuilder-1.7.4/MyGames/Proto/game/gameScripts/datablocks.cs. Executing E:/TorqueGameBuilder-1.7.4/MyGames/Proto/game/gameScripts/guiProfiles.cs.I never changed that guiProfiles.cs file and it seems to crash while executing it.
Also note that I have more than 300 static sprites and more than 200 animated.
One intriguing thing is also that the console.log file has
Missing file: C:/Documents and Settings/Administrateur/Application Data/GarageGames/TorqueGameBuilder/imageEditorPrefs.cs!Is it normal ?
Lastly i have a Geforce 8800 GT card and 2Gb of RAM. The memory used by the project while loading is kind of low so i do not think this is the problem.
If you have any idea what is going on with my project please let me know.
Thank you.
#2
08/21/2009 (5:53 am)
No, i have not used any spaces in my object names, but thank you anyway for trying to help.
Torque Owner ChrisG
Check that you haven't used any spaces when naming objects, you may need to look through the mission file in a text editor. Spaces in object names will cause TGE and TGEA to crash.