Game Development Community

GuiOjectView crash

by Peter Simard · in Torque Game Engine · 09/27/2005 (12:54 pm) · 7 replies

I have the guiOjectView and the Lighting pack update. When I first load my player select screen everything works fine. When I close the mission and go back to the player select screen my game crashes. Nothing in the console is giving me any info as to whats going on. Ive tried deleting and recreating the object when the gui wakes but it still crashes. Anyone else seen this problem or know what I might be able to do to fix it?

Thanks

#1
09/27/2005 (1:47 pm)
Do you setEmpty() the object view when you close its gui?
#2
09/27/2005 (1:59 pm)
It's a bug in the guiObjectView file itself. There's a fix around here somewhere... I believe I've lost my copy of the fixed C++ files..

Link removed
#3
09/27/2005 (9:16 pm)
@Anthony: Yup, I tried calling setEmpty() on close

@Chris: I have the lighting pack and already applied that patch

It worked fine before the lighting pack update. Ive gone through the file and made sure the changed were done correctly. Anyone have a copy of the modified guiObjectView.cc file for comparison?
#4
10/02/2005 (2:19 pm)
Ah oops, I believe I linked you to the original Lighting Pack specific guiObjectView, which we both have. Mine is crashing too like yours is. I remember seeing a specific fixed .cc file for this, but not sure where. I downloaded it once but then got rid of it as my team were porting to TSE and I didn't think it would come of use. Well we decided to remain with TGE and have this crash still, and I forgot where the fix was. :/
#5
10/02/2005 (2:59 pm)
Chris, you should never post Torque Lighting Kit specific code outside of the TLK Private forums!


Peter,

Run TGE in the debugger to see where the crash occurs.

-John
#6
10/02/2005 (3:10 pm)
I apologize, but it wouldn't be much use to someone who doesn't have the kit, as their guiObjectView wouldn't really.. be updated correctly anyway, would it?
#7
10/02/2005 (5:49 pm)
Edited: Well the guiObjectView update fix for that problem mentioned in another thread as well in the TLK Private Forums, I have as well, and still have the crash. Odd.