Hi,
When I launch the game, the game crashes before the game window appears. Here is the crash log.
////////////////////////////////////////////////////////////////
Date: 12/24/2016 11:01:35 PM
Assembly: Gnomoria.exe
Version: 1.0.0.0
World:
Message: Error loading "Cursors\Horizontal".
////////////////////////////////////////////////////////////////
at Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T]()
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
at Game.GUI.Controls.Skin.Init()
at Game.GUI.Controls.Manager.SetSkin(Skin skin)
at Game.GUI.Controls.Manager.Initialize()
at Game.GUI.GuiManager.Initialize()
at Game.GUI.GuiManager..ctor()
at Game.GnomanEmpire.Initialize()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
Date: 12/24/2016 11:01:35 PM
Assembly: Gnomoria.exe
Version: 1.0.0.0
World:
Message: The process cannot access the file 'C:\Users\Name\AppData\Local\Temp\tmp8CA.tmp' because it is being used by another process.
////////////////////////////////////////////////////////////////
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at System.IO.File.Delete(String path)
at Game.GUI.Controls.CursorReader.Read(ContentReader input, Cursor existingInstance)
at Microsoft.Xna.Framework.Content.ContentReader.InvokeReader[T](ContentTypeReader reader, Object existingInstance)
at Microsoft.Xna.Framework.Content.ContentReader.ReadObjectInternal[T](Object existingInstance)
at Microsoft.Xna.Framework.Content.ContentReader.ReadObject[T]()
at Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T]()
////////////////////////////////////////////////////////////////
They both happen, which leads me to suspect the first is caused by the second. After each time it fails to launch, I check which processes are using the tmp file with tasklist /m and I always end up with nothing. I cannot check before launch since it always uses/generates a random tmp file. My only guess is that it could be something in launch trying to access this file multiple times.
Thanks in advance!