Author Topic: Game crashes when loading a save.  (Read 287 times)

J a s o n

  • Guest
Game crashes when loading a save.
« on: August 19, 2010, 06:20:55 PM »
Before the crash started, it was working fine. I saved then I exited out of it for a bit. Then, got back on AI War, loaded up the save, and a half second later after loading I could see the camera zooming in which is normal and then it crashes and pops this up:

8/19/2010 12:48:55 PM (3.1.8.3)
-----------------------------------Application_ThreadException-----------------------------------System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at AIWar.Game.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 934
   at AIWar.Game.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 361
   at AIWar.Game.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 287
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


I tried reloading the game multiple times in hopes of it working, but to no success.  :'(

I'll upload the save just incase.  ;)

Thanks!

Offline keith.lamothe

  • Arcen Games Staff
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 9,942
    • View Profile
Re: Game crashes when loading a save.
« Reply #1 on: August 19, 2010, 06:32:51 PM »
Looking at it, thanks :)
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline keith.lamothe

  • Arcen Games Staff
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 9,942
    • View Profile
Re: Game crashes when loading a save.
« Reply #2 on: August 19, 2010, 06:46:06 PM »
Good catch, surprised we hadn't run into that one earlier, though I think it has something to do with a neinzul regen chamber re-unloading a neinzul ship the exact first cycle after a load.

For 3.184:

* Fixed a crash bug related to neinzul regeneration chambers unloading a repaired neinzul ship.


Thanks :)
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!