Game Development Community

RunWithEditors=false and persistant objects = crash

by Rodney Rindels - Torqued · in Torque Game Builder · 07/05/2006 (7:53 pm) · 3 replies

There must be some requirement not being met when $runwithEditors = false. A project with persistant objects crashes on shutdown .

Best I can tell mpProcessHead has a null reference at some point during the shutdown causing it to blow up

line 499 t2dSceneGraph.cc

    delete mpProcessHead;

I've stepped through it a bit, and watched mProcesshead have a null reference when the crash occurs. Removing persistant objects or turning the $runWithEditors to true stops the crash, so I'm guessing there is something in the editors code thats required to make persistant objects initialize correctly?

#1
07/12/2006 (4:08 pm)
Thanks for reporting this, this has been logged.
#2
07/14/2006 (3:05 pm)
This has been fixed. Thanks Rodney.
#3
07/15/2006 (10:53 pm)
No problem .. good job knocking it out guys.