Game Development Community

Level Editor Crashing on Loading Project! Help!

by Michael Mashayekh · in Torque Game Builder · 02/04/2009 (10:04 am) · 19 replies

I've been working busily on putting together a level for a game with TGB, and this morning the Level Editor was crashing during the loading of the level. I would get to glimpse my project, then it crashes.

I'm using the following machine:
Vista 64bit
Intel Core2 Duo P7350
4GB Ram
GeForce 9700 vid card

It kind looks to me like my project is corrupted somehow. It was working fine yesterday, and now today it crashes everytime. Even creating a new project results in a crash shortly after loading it!

Has anyone run into this issue before? Anyone know what it might be?

#1
02/04/2009 (10:36 am)
I ran into exactly the same thing today, and thought it was something I did. I did a lot of messing around, only to discover it seems to be crashing due to RSS updates!!

To fix it on a Mac, I went into:

home/Library/Application Support/GarageGames/

There is a folder called "TorqueGameBuilder" inside. I dragged that onto the desktop. (Trash is also fine.)

I'm not sure this 2nd step was necessary, but I also then moved my project's "project.t2dProj" file to a different folder, so that when I started up the TGB editor, it wouldn't automatically load my project.

I then started up the editor, and *then* opened my project by putting the file back where it belonged and double-clicking it, and a window came up asking if I wanted RSS feeds. The first time I left it turned on, but the editor then crashed the next time I quit and launched it. So they key here is TURN THIS OFF. Uncheck the box. And then all is well with the universe. :-)

Yeah, not cool, to have a program start randomly crashing due to RSS feeds, but such is life. I'm just gonna keep that sucker turned off from now on.

If you mess up and leave the RSS box checked, then quit, and get rid of the "TorqueGameBuilder" common folder before starting up again.

Oh, and I'm not sure how you'd fix this on Windows, but you'll have to find where common files are stored there.
#2
02/04/2009 (10:43 am)
It seems a simpler solution is to go into the TorqueGameBuilder folder and open up "levelEditorPrefs.cs" and change the "checkRSSFeeds" setting to 0.

You may also want to delete the "RSSCache.cs" file just to be safe, but this doesn't seem to be necessary.

I'm curious how many dozens of people will end up running into this problem today. Post here if you do!
#4
02/04/2009 (11:10 am)
Is there a windows solution? I don't have a "levelEditorPrefs.cs" file nor a "RSSCache.cs" file.

I've been searching through all the prefs.cs files i can find in all the common folders and haven't found anything that will turn off RSS feeds.
#5
02/04/2009 (11:11 am)
Thanks Vern. I unplugged my internet connection, and I was able to get into my project and work just fine.

I don't seem to have any "levelEditorPrefs.cs" in my file structure, also i found where it is exec'd, and where it checks for "checkRSSFeeds".

Interestingly enough, there is no way to stop RSS feeds in the level editor program once you have them enabled. You think there would be a check box or something in the Edit->Preferences menu!

So for now, my way of continuing to work is to unplug the internet connection, open my project, then plug the connection back in.
#6
02/04/2009 (11:13 am)
Fix For Windows:
go here:
C:/Documents and Settings/YOUR_USER/Application Data/GarageGames/TorqueGameBuilder/levelEditorPrefs.cs
make sure this is set:
$levelEditor::checkRSSFeeds = "0";
& save

..if you don't see your 'Application Data' folder, you will need to unhide the hidden files/folders by doing this:
"How to view hidden folders:" 1 article down the page or use google on your own. :P
#7
02/04/2009 (11:17 am)
Okay. (Working in Windows) I did a search for anything "RSS" in my GarageGames folder and deleted all that it found. There were a few .cs.edso file extensions in there and an RSS folder but nothing I could open in a text editor and understand.

So far so good. It didn't prompt me to sign up for RSS again, but it didn't crash either.
#8
02/04/2009 (11:40 am)
I would expect the file structure in Windows to be the same as on the Mac, just that the common files would be stored somewhere else. My folder has these:

commonPrefs.cs
compiledScripts [folder]
customEditorBind.cs
fonts [folder]
levelBuilder [folder]
levelEditorPrefs.cs
particleEditorPrefs.cs
User.cs.dso

You should be able to search for any of these files to find the folder containing them all. I'd be surprised if they're not all there in the same folder, just like on the Mac. Once you find them, you can open up levelEditorPrefs.cs and change the setting, so as to not have to unplug your internet. ;-)
#9
02/04/2009 (11:54 am)
I edited my old post but it may be overlooked if you read from the bottom-up. *Fix for windows in my previous post, if you need it.*
#10
02/04/2009 (12:51 pm)
Thanks eb and Vern,

My AppData folder was in a slightly different location:
<USER>/AppData/Roaming/GarageGames/

Changing the checkRSSupdates to 0 fixed the problem.

I wonder why or how a simple RSS update could crash an App? :O
#11
02/04/2009 (2:46 pm)
Looks like that old feed is piped through a feed site that changed something... Unfortunately that brings a crash *ugh*...

As is mentioned you can manually change the check RSS updates value:


On Vista - C:\Users\YOUR_USER\AppData\Roaming\GarageGames\TorqueGameBuilder\levelEditorPrefs.cs

On XP - C:/Documents and Settings/YOUR_USER/Application Data/GarageGames/TorqueGameBuilder/levelEditorPrefs.cs

On Mac - home/Library/Application Support/GarageGames/TorqueGameBuilder/levelEditorPrefs.cs

and set the

$levelEditor::checkRSSFeeds = "1";

to

$levelEditor::checkRSSFeeds = "0";
#12
02/04/2009 (3:03 pm)
You guys are lifesavers! I thought something went wonky (as it sometimes does) and reinstalled TGB. Then it threw the error childkilled:SIGABRT

#13
02/04/2009 (3:12 pm)
You can change it in this manner as Disconnect your computer completely from the internet, open up TGB, and go to :

Help--->About--->Insider

and uncheck "Yes, please check for RSS news"
#14
02/04/2009 (3:23 pm)
Ok, it should no longer cache, the RSS data it receives (which should be empty) doesn't display properly, but it shouldn't crash anymore.

Could any of you re-enable it and try loading TGB and let me know if it no longer crashes?
#15
02/04/2009 (3:27 pm)
I turned RSS back on and it didn't crash. I checked the RSSNews tab and there's a bunch of stuff in it now.

Thanks for the fix Matthew.
#16
02/04/2009 (3:38 pm)
Yeah, thanks for the fix and speedy response, Matthew.
#17
02/04/2009 (3:52 pm)
I'm sure plenty of users who *haven't* found this thread yet, will be grateful (without knowing they are grateful ;-) for your fix, before they even ran into the problem, Matthew. :-)
#18
02/04/2009 (4:45 pm)
Quick update: We changed our RSS feeds, so you should not see this issue anymore even if you used Matt's fix. Please let us know if you are still seeing it!
#19
02/04/2009 (4:49 pm)
btw props go To Jacob Fike on the web end for fixing the feed, I just bugged him a lot heh ;)