Game Development Community

TX 3D Builder open beta bug: error creating new scene

by Thorsten Schmidt · in Torque X 2D · 08/11/2008 (1:47 pm) · 4 replies

I get another unhandled exception. Here are the steps:

1. Open the starter game 3D created in visual studio
2. open the default levelData.txscene created with the starter game 3d template
3. Call File->New Scene
4. Save the current scene? No
=> unhandled exception: I guess there is a "emptyLevel.txscene" file missing

************** Ausnahmetext **************
System.IO.DirectoryNotFoundException: Ein Teil des Pfades D:\Game Development\Entwicklung\Torque3DXBuilderTest\Torque3DXBuilderTest\Game\data\levels\data\levels\emptyLevel.txscene konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
bei System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
bei System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
bei System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
bei System.Threading.CompressedStack.runTryCode(Object userData)
bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
bei System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
bei System.Xml.XmlTextReaderImpl.OpenUrl()
bei System.Xml.XmlTextReaderImpl.Read()
bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
bei System.Xml.XmlDocument.Load(XmlReader reader)
bei System.Xml.XmlDocument.Load(String filename)
bei GarageGames.Torque.Core.Xml.TorqueXmlDeserializer.Process(String levelFile, Object target)
bei GarageGames.Torque.Core.Xml.TorqueSceneData.Load(String filename, List'1 extraAssemblies)
bei GarageGames.Torque.GameUtil.SceneLoader.Load(String sceneFileName, List'1 extraAssemblies)
bei GarageGames.Torque.GameUtil.SceneLoader.Load(String sceneFileName)
bei TorqueXBuilder3D.TorqueXBuilderGame.LoadEmptyScene()
bei TorqueXBuilder3D.FormMain.menuFileNewScene_Click(Object sender, EventArgs e)
bei DevComponents.DotNetBar.BaseItem.RaiseClick(eEventSource source)
bei DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)
bei DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg)
bei DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg)
bei DevComponents.DotNetBar.MenuPanel.OnMouseUp(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei DevComponents.DotNetBar.MenuPanel.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

#1
08/11/2008 (2:23 pm)
I was not able to repro this, but I am logging it to be looked into. Thank you.
#2
08/11/2008 (6:30 pm)
Yay! Living a few years in Hannover is finally paying off! looking at the stack trace you posted, it does look like the emptyLevel.txscene file was not found. Did you change from one project to another (in addition to changing scene files)? Also, which operating system are you running, XP or Vista? This should be an easy one to fix.

John K.
#3
08/11/2008 (10:39 pm)
After a few hours of sleep here I go again ;)

No, I didn't change the projects only the scene files. And I'm running XP.


And what did you do in Hannover if this question isn't to personal?
#4
09/11/2008 (1:54 pm)
New Beta Version:

The emptyLevel.txscene file is still missing. Do I have to create it manually?
So creating a new scene still gives the same error.