Behavior List Crashes TGB Level Editor
by Parker A. Johnstone · in Torque Game Builder · 02/16/2009 (4:05 pm) · 2 replies
Windows. TGB 1.7.4
I was working on my project on Friday and everything was fine.
Today (Monday) I open my project and go to add an already tested behavior to a new object and TGB Level Editor crashes when selecting the behavior list drop down menu.
I can see the behavior on my test object. However the behavior list drop down caused a crash again.
I've reloaded the project. I've moved the behaviors out of the folder, reloaded and tried it again. I've put them back in, reloaded and still same result.
In a new project using a fish sprite from the Fish Tutorial I had no issues with the behavior drop down menu. It only happens in my current project. The game runs fine and the behaviors work. I just can't edit them or add new ones.
Last thing I was working on last week was a new GUI.
Anyone else run into this problem?
**Update
2/17/2009 3:00pm
Its not just the Behavior Menu, it's also the Config Datablock drop down in Scripting. I'm still trying to figure this out on my own.
I was working on my project on Friday and everything was fine.
Today (Monday) I open my project and go to add an already tested behavior to a new object and TGB Level Editor crashes when selecting the behavior list drop down menu.
I can see the behavior on my test object. However the behavior list drop down caused a crash again.
I've reloaded the project. I've moved the behaviors out of the folder, reloaded and tried it again. I've put them back in, reloaded and still same result.
In a new project using a fish sprite from the Fish Tutorial I had no issues with the behavior drop down menu. It only happens in my current project. The game runs fine and the behaviors work. I just can't edit them or add new ones.
Last thing I was working on last week was a new GUI.
Anyone else run into this problem?
**Update
2/17/2009 3:00pm
Its not just the Behavior Menu, it's also the Config Datablock drop down in Scripting. I'm still trying to figure this out on my own.
#2
02/17/2009 (7:00 pm)
@Parker - Interesting find. I'm bookmarking this for later. Glad you found a solution.
Torque Owner Parker A. Johnstone
The issue came from my gui profiles.cs file in my gui folder. I had a previous problem of finding custom profiles in the Profile dropdown menu in the Gui Builder. That solution was to put the profiles in a profiles.cs file in my game/gui folder and exec it from datablocks.
This caused a new problem: all the common profiles were copied into this file. Loading these profiles twice made TGB really upset.
When I deleted the duplicate profiles and left only my custom ones I no longer had a crash when selecting a drop down menu in TGB's Level editor. =/