Gnomoria

General Category => Support => Topic started by: Xenathe on January 15, 2017, 03:25:05 AM

Title: Game Crash
Post by: Xenathe on January 15, 2017, 03:25:05 AM
The game crashes at the same point every time I load it. I have tried stopping all work to no avail. Not sure I'm doing this right but here is the crash log as far as I can tell.



at A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 1/15/2017 3:13:34 AM
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World: world01
 Message: Collection was modified; enumeration operation may not execute.
////////////////////////////////////////////////////////////////
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at Game.GameEntityManager.c888bc36af8719ea94bfb1f01dc886761()
   at Game.GameEntityManager.Update(Single dt)
   at Game.GnomanEmpire.cce48101c3be44fa5bd8b6826610afdec(Single c98206223a14c41d705f29e408e0b44cd)
   at Game.GnomanEmpire.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GameHost.OnIdle()
   at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

Title: Re: Game Crash
Post by: admanter on January 17, 2017, 05:19:13 AM
Are you running mods?

Did you remove or update any of them?

Can you upload your world and say at what time it crashes?

This looks like some kind of hauling error, a gnome putting things away maybe. You might have to take everyone's profession off(or take hauling off all professions) until you can find the problem.

If its a glitched container you might need to just isolate it away from all gnomes,(build a dirt box around it).
Title: Re: Game Crash
Post by: phooenix on January 24, 2018, 12:58:31 AM
I also get a crash at the same time every time i load a save. And yes I use mods, every mod in Tacyn's Mod v.2. Mods was downloaded today so the date for the mods (if you want to find versions) are the same as this post, the site to upload saves are down so tell me where to send it if you want it.

P.S. The log is in swedish.

My Crash log from gnomoria.log related to this bug:

////////////////////////////////////////////////////////////////
    Date: 2018-01-24 09:35:11
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World: world01
 Message: Mängden har ändrats. Det går inte att köra uppräkningsåtgärden.
////////////////////////////////////////////////////////////////
   vid System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   vid System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   vid System.Collections.Generic.List`1.Enumerator.MoveNext()
   vid Game.GameEntityManager.c888bc36af8719ea94bfb1f01dc886761()
   vid Game.GameEntityManager.Update(Single dt)
   vid Game.GnomanEmpire.cce48101c3be44fa5bd8b6826610afdec(Single c98206223a14c41d705f29e408e0b44cd)
   vid Game.GnomanEmpire.Update(GameTime gameTime)
   vid Microsoft.Xna.Framework.Game.Tick()
   vid Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   vid Microsoft.Xna.Framework.GameHost.OnIdle()
   vid Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   vid Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   vid System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.Run(Form mainForm)
   vid Microsoft.Xna.Framework.WindowsGameHost.Run()
   vid Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   vid A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

I also had some trouble with adjusting the game to a 2K resolution screen, and the game crashes sometimes when i alt+tab out of the game so here are the other crash reports that also was in the gnomoria.log (sorry I can't give you any more precise description on what happened on each):


Date: 2018-01-24 03:41:31
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World:
 Message: Begin must be called successfully before End can be called.
////////////////////////////////////////////////////////////////
   vid Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
   vid Game.GnomanEmpire.Draw(GameTime gameTime)
   vid Microsoft.Xna.Framework.Game.DrawFrame()
   vid Microsoft.Xna.Framework.Game.Tick()
   vid Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   vid Microsoft.Xna.Framework.GameHost.OnIdle()
   vid Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   vid Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   vid System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.Run(Form mainForm)
   vid Microsoft.Xna.Framework.WindowsGameHost.Run()
   vid Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   vid A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 2018-01-24 03:42:31
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World:
 Message: Begin must be called successfully before End can be called.
////////////////////////////////////////////////////////////////
   vid Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
   vid Game.GnomanEmpire.Draw(GameTime gameTime)
   vid Microsoft.Xna.Framework.Game.DrawFrame()
   vid Microsoft.Xna.Framework.Game.Tick()
   vid Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   vid Microsoft.Xna.Framework.GameHost.OnIdle()
   vid Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   vid Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   vid System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.Run(Form mainForm)
   vid Microsoft.Xna.Framework.WindowsGameHost.Run()
   vid Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   vid A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 2018-01-24 03:44:08
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World:
 Message: A previous Draw call threw an unhandled exception. See InnerException for details.
////////////////////////////////////////////////////////////////
   vid Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   vid Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   vid System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.Run(Form mainForm)
   vid Microsoft.Xna.Framework.WindowsGameHost.Run()
   vid Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   vid A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 2018-01-24 03:44:08
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World:
 Message: Begin must be called successfully before End can be called.
////////////////////////////////////////////////////////////////
   vid Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
   vid Game.GnomanEmpire.Draw(GameTime gameTime)
   vid Microsoft.Xna.Framework.Game.DrawFrame()
   vid Microsoft.Xna.Framework.Game.Paint(Object sender, EventArgs e)
   vid Microsoft.Xna.Framework.GameWindow.OnPaint()
   vid Microsoft.Xna.Framework.WindowsGameWindow.mainForm_Paint(Object sender, PaintEventArgs e)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 2018-01-24 03:44:30
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World:
 Message: Begin must be called successfully before End can be called.
////////////////////////////////////////////////////////////////
   vid Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
   vid Game.GnomanEmpire.Draw(GameTime gameTime)
   vid Microsoft.Xna.Framework.Game.DrawFrame()
   vid Microsoft.Xna.Framework.Game.Tick()
   vid Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   vid Microsoft.Xna.Framework.GameHost.OnIdle()
   vid Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   vid Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   vid System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.Run(Form mainForm)
   vid Microsoft.Xna.Framework.WindowsGameHost.Run()
   vid Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   vid A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 2018-01-24 03:45:18
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World:
 Message: A previous Draw call threw an unhandled exception. See InnerException for details.
////////////////////////////////////////////////////////////////
   vid Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   vid Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   vid System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.Run(Form mainForm)
   vid Microsoft.Xna.Framework.WindowsGameHost.Run()
   vid Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   vid A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 2018-01-24 03:45:19
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World:
 Message: Begin must be called successfully before End can be called.
////////////////////////////////////////////////////////////////
   vid Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
   vid Game.GnomanEmpire.Draw(GameTime gameTime)
   vid Microsoft.Xna.Framework.Game.DrawFrame()
   vid Microsoft.Xna.Framework.Game.Paint(Object sender, EventArgs e)
   vid Microsoft.Xna.Framework.GameWindow.OnPaint()
   vid Microsoft.Xna.Framework.WindowsGameWindow.mainForm_Paint(Object sender, PaintEventArgs e)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 2018-01-24 09:18:35
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World: world01
 Message: Mängden har ändrats. Det går inte att köra uppräkningsåtgärden.
////////////////////////////////////////////////////////////////
   vid System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   vid System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   vid System.Collections.Generic.List`1.Enumerator.MoveNext()
   vid Game.GameEntityManager.c888bc36af8719ea94bfb1f01dc886761()
   vid Game.GameEntityManager.Update(Single dt)
   vid Game.GnomanEmpire.cce48101c3be44fa5bd8b6826610afdec(Single c98206223a14c41d705f29e408e0b44cd)
   vid Game.GnomanEmpire.Update(GameTime gameTime)
   vid Microsoft.Xna.Framework.Game.Tick()
   vid Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   vid Microsoft.Xna.Framework.GameHost.OnIdle()
   vid Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   vid Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   vid System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.Run(Form mainForm)
   vid Microsoft.Xna.Framework.WindowsGameHost.Run()
   vid Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   vid A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 2018-01-24 09:26:57
Assembly: gnomoria.exe
 Version: 1.0.0.0
   World: world01
 Message: Mängden har ändrats. Det går inte att köra uppräkningsåtgärden.
////////////////////////////////////////////////////////////////
   vid System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   vid System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   vid System.Collections.Generic.List`1.Enumerator.MoveNext()
   vid Game.GameEntityManager.c888bc36af8719ea94bfb1f01dc886761()
   vid Game.GameEntityManager.Update(Single dt)
   vid Game.GnomanEmpire.cce48101c3be44fa5bd8b6826610afdec(Single c98206223a14c41d705f29e408e0b44cd)
   vid Game.GnomanEmpire.Update(GameTime gameTime)
   vid Microsoft.Xna.Framework.Game.Tick()
   vid Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   vid Microsoft.Xna.Framework.GameHost.OnIdle()
   vid Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   vid Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   vid System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   vid System.Windows.Forms.Application.Run(Form mainForm)
   vid Microsoft.Xna.Framework.WindowsGameHost.Run()
   vid Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   vid A.cebc1c67c4a164a49b1c279b0006957be.c49a93168dc3d77742f5742786a5b60b9(String[] c51864dddd6353b79e1a34e131a62f09a)
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////

Title: Re: Game Crash
Post by: admanter on January 24, 2018, 12:19:52 PM
I also get a crash at the same time every time i load a save. And yes I use mods, every mod in Tacyn's Mod v.2. Mods was downloaded today so the date for the mods (if you want to find versions) are the same as this post, the site to upload saves are down so tell me where to send it if you want it.

Do you mean you just added mods to a world? Or that you just updated mods for a world?

Both of those are likely to cause a crash. Only Tacyn would know for sure.

This line right here looks to indicate something is wrong with a resource in the tacyn mod.    vid System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)

Does the mod say it works with the 1.0.0.0 release of Gnomoria? or is it for an earlier release?

If its not a mod-version conflict, i remember there being localization issues with some characters. You could try setting your windows system language to US-english, with the default US-character stuff. I think the error was specific to decimal place separator, but I'm no longer sure, and too lazy to look it up.

There is very little support for the game as the developer has moved on. Also not very many people lurking the forum anymore.  Best of luck.