Game Development Community

Trial version crashes with InvalidOperationException

by alexbss · in Torque X 3D · 03/29/2010 (8:55 pm) · 8 replies

Trying to trial TorqueX3D. Crashes at runtime with InvalidOperationException on the line of loading the scene.

Is TorqueX3D not compatible with Win7 64bit??

I have reinstalled XNA 3.1, Visual Studios 2008 Pro, TorqueX Trial 3 times now.

I have created a new Torque Project in Visual Studio, It compiles ok, but crashes everytime on run.

About the author

Recent Threads


#1
03/30/2010 (1:26 am)
Have you upgraded your VS2008 to SP1? That usually solves it.
#2
04/09/2010 (7:19 pm)
I just reformatted the whole system.... SP1 is now DEFINATELY installed.

Still no cheese tho.

Any other suggestions?
#3
04/09/2010 (8:23 pm)
what is the crash error you get? I know had some issues with windows 7 however that was before the actual release of win7. Does it just crash or does it say something like cannot find xyz?

#4
04/09/2010 (8:37 pm)
I am running a TorqueX GUI Template project... unchanged.

The project compiles and runs.... but crashes when you select 'Start New Game':

A first chance exception of type 'System.InvalidOperationException' occurred in Microsoft.Xna.Framework.dll

on the line

Game.Instance.SceneLoader.Load(@"data\levels\levelData.txscene");
#5
04/10/2010 (9:15 pm)
I have also tried running the demos FPS and VideoDemo3D.

Same problem...they all crash with the same error (as above).


Please Note : My previous XNA-based projects are running fine (with Sunburn, JiglibX etc)
#6
04/11/2010 (8:40 am)
OK so you have a good XNA install. Did you try un installing TX3D and re download etc? I had a problem with iTGB, non of us could figure it out, turns out somehow my DL was slightly corrupted. It would install but not install correctly.

Did you try making a project without the GUI? Does it work. Is the file levelslevelData.txscene there? double click it and make certain it exists and is an XML file.

If you have Twitter you can hit me up, my twit name is theBigdaddio.
#7
04/11/2010 (9:04 pm)
Thanx for your help Henry (sorry, no twitter)

I've tried now on 2 different computers... Laptop and Desktop (both with Win7 x64).

Tried uninstalling and redownloading several times too.

Every TorqueX project fails on the same line.
- FPS (in demo folder)
- VideoDemo3D (in demo folder)
- TorqueX Simple 3D
- TorqueX GUI 3D

They all have valid XML files too.

I think the problem must lie with the current Trial files available to download. There must be a bug.

Downloaded 3 weeks ago, 2 weeks ago, 1 week ago and today... same problem.

#8
04/16/2010 (8:20 pm)
FIXED!

TorqueX does not like the DirectX SDK to be in Debug Mode.
Once i set it to Retail Version....we're in business.