Game Development Community

Weird crash after entering editor

by Nmuta Jones · in Torque Game Engine · 03/04/2010 (5:43 am) · 3 replies

I've been building a scene for over a month now, no problems yet, placed many things in editor.


Today, all of the sudden, when I enter the editor, Torque crashes as soon as I move the move within the editor.

I did a trace on the console, and this is where it ends every time before the crash:

Entering DefaultTrigger::onTickTrigger(13, 8849)
Leaving DefaultTrigger::onTickTrigger() - return 
Entering SpawnSphere::onEditorRender(8814, 8970, false, false)
Leaving SpawnSphere::onEditorRender() - return 
Entering yaw(-31)
   Entering getMouseAdjustAmount(-31)
   Leaving getMouseAdjustAmount() - return -0.31
Leaving yaw() - return -0.31
Entering pitch(-3)
   Entering getMouseAdjustAmount(-3)
   Leaving getMouseAdjustAmount() - return -0.03
Leaving pitch() - return -0.03
Entering SpawnSphere::onEditorRender(8814, 8970, false, false)
Leaving SpawnSphere::onEditorRender() - return 
Received info request from a master server [IP:74.63.12.22:28002].
Entering yaw(-23)
   Entering getMouseAdjustAmount(-23)
   Leaving getMouseAdjustAmount() - return -0.23

After that last line..... it crashes.

Any ideas????

#1
03/04/2010 (5:49 am)
Ok, now its crashing IMMEDIATELY when I enter the editor, without even moving the mouse...

Leaving creator::init() - return 
         Leaving creator::onWake() - return 
         Entering EditorGui::onWake(8966)
            Entering EditorGui::setEditor(8966, World Editor Inspector)
               Entering EditorGui::setWorldEditorVisible(8966)
               Leaving EditorGui::setWorldEditorVisible() - return 
            Leaving EditorGui::setEditor() - return 
            Entering [CanvasCursor]GuiCanvas::pushDialog(Canvas, DemoEditorAlert)
               pushDialog(): Invalid control: DemoEditorAlert
               Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
               Leaving [CanvasCursor]GuiCanvas::checkCursor() - return 8966
            Leaving [CanvasCursor]GuiCanvas::pushDialog() - return 8966
         Leaving EditorGui::onWake() - return 8966
         Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
         Leaving [CanvasCursor]GuiCanvas::checkCursor() - return 8966
      Leaving [CanvasCursor]GuiCanvas::setContent() - return 8966
   Leaving Editor::open() - return 8966

I tried deleting anything I added to the editor before this happened...but it still crashes. I thought perhaps a new model I put in there was causing the problems.
But I deleted both of the models I recently added in the mission file (they were static models anyway.... a .dif and a .dts file) but its still crashing every time I go into the editor.

In all the years I've been working with Torque this has never happened.




#2
03/04/2010 (5:57 am)
OK, I discovered what it was:
A video card issue.

I had switched to D3D rendering about an hour ago in my prefs.

That, for whatever reason, was causing a crash every time I went into editor. Just thought I'd share that as an FYI on the off chance anyone else has this problem. Never had D3D issue in editor before, but I'm developing on a different machine than I used to.
#3
03/04/2010 (7:02 am)
The likely culprit here is that either DirectX or the video drivers need to be updated on that machine.