TX3D Builder Crash after adding boxes to scene.
by James Ford · in Torque X 2D · 08/11/2008 (10:46 pm) · 6 replies
I created a new project from the 3D Starter Game template, loaded the project in the 3D builder. Selected a box, clicked add to scene. Actually I added two because I didn't see anything, but checking the scene's xml file it was there. I tabbed back to the sceneview and crash.
Attached with visual studio,
The error was a null reference, nd the top of the callstack is:
TorqueBuilderCore.dll!GarageGames.Torque.Materials.RenderMaterial._SetupEffect(GarageGames.Torque.SceneGraph.SceneRenderState srs, GarageGames.Torque.Materials.MaterialInstanceData materialData) + 0xd bytes
Attached with visual studio,
The error was a null reference, nd the top of the callstack is:
TorqueBuilderCore.dll!GarageGames.Torque.Materials.RenderMaterial._SetupEffect(GarageGames.Torque.SceneGraph.SceneRenderState srs, GarageGames.Torque.Materials.MaterialInstanceData materialData) + 0xd bytes
About the author
http://jamesdev.info
#2
08/12/2008 (11:21 am)
Hey James, I'm running Vista 64 ultimate here. It may just be a problem with the 3D Primitive shapes. I haven't ran into the problem with the 3D starter project not running, but I will log this for further examination. If you run into this again or have any further info, please post here, and thanks!
#3
08/12/2008 (11:34 am)
I think the bigger issue for me right now is the 3D starter project not working properly. Could there be an issue with it in Visual Studio Professional 2005? When it is in the "running but no window" state and I break it is always stuck somewhere inside loading the xml scene function call. Somethings going on in there...
#4
Bigger here.
As you can see its locked up (well in an infinite loop probably) within SceneLoader.Load(@"data\levels\levelData.txscene");
08/14/2008 (10:19 pm)
I installed C# 2005 express, SP1, XNA 2.0, and TorqueX 2.0 for CC just to try it again (but with express). Started a new project using the 3D template. Builds fine. Press play, and I get this (same thing as before with professional)...
Bigger here.As you can see its locked up (well in an infinite loop probably) within SceneLoader.Load(@"data\levels\levelData.txscene");
#5
John K.
08/14/2008 (10:51 pm)
I'm not clear about your current state - does a brand new (unmodified) game generated from the starter template build & run? If not, we need to keep digging. If it does, but then the modified file causes problems, then can you email me your levelData.txscene file? I'll take a look there to see if anything stands out.John K.
#6
08/14/2008 (10:56 pm)
I made no changes, so its a brand new and unmodified (3d) project. By the way, the 2D project starts fine. Unfortunately I don't have the TorqueX source code or I could probably figure out whats going on in 5 seconds.
Associate James Ford
Sickhead Games
I'm starting to think this is not just an editor issue.
I'm working with visual studio 2005 professional, XNA 2.0, and "TorqueX 2.0 for Creators Club" installed. Along with TorqueX 3D Game Builder of course.