Bug in world inspector
by Mark Storer · in Torque Game Engine · 02/11/2004 (11:03 pm) · 4 replies
I just got an access violation in the world inspector. In a call to setAllGroupState(), 'mTarget' was null. As the first call in the function is mTarget->getModifiableFieldList(), you can imagine things didn't go so well.
I haven't been able to reproduce it. I was messing around with the shape replicator at the time, and I recall having an invalid media path.
I haven't been able to reproduce it. I was messing around with the shape replicator at the time, and I recall having an invalid media path.
About the author
#2
02/12/2004 (7:39 am)
There is an easy way to get an access violation in the Mission Editor's Inspector : Go in F3 mode, select something in the mission so you see its fields, delete it and try to access the fields of that item (as they are still listed in the bottom right quadrant), and boom, CTD :)
#3
Should there be an Assert() around the require variables in that function? or maybe a conditional statement with a message popup?
-Ron
02/12/2004 (9:07 am)
Ben,Should there be an Assert() around the require variables in that function? or maybe a conditional statement with a message popup?
-Ron
#4
(Very busy atm, otherwise I'd do this now.)
02/12/2004 (5:36 pm)
Hmm, that's rather heinous... I'll have to get to that, please mail me so I don't forget. :)(Very busy atm, otherwise I'd do this now.)
Associate Ben Garney
If you get a reproducable case, lemme know. :)