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
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?
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?
Torque 3D Owner Matthew Langley
Torque