Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Editor no longer load my game files. The bug started when I try to test my game, it didn't start the test game. Restarting the editor then when I tried loading my game files, a fatal error message shows up and closes the editor.  Here is the error log.

Source: mscorlib

Reason: Input string was not in a correct format.

Stack trace:    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)

   at System.Convert.ToInt32(String value)

   at EasyFPSEditor15.ResourceDecoration.FromStrings(ArrayList strings)

   at EasyFPSEditor15.Resources.LoadMultilineResource(String path, Int32 linesNumber, Int32 type)

   at EasyFPSEditor15.Resources.LoadAllResources(String dataPath)

   at EasyFPSEditor15.Editor.OpenProject()

   at EasyFPSEditor15.MainForm.OpenProjectToolStripMenuItemClick(Object sender, EventArgs e)

   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.ToolStripDropDown.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)

Check if your .dat files are fine.

There was one case on this but I still don't know what's the reason for this to occur.

Any tips how to avoid the random bug that corrupted the game? I guess I have to make multiple backups of my game.

As of now I don't even know how to reproduce this bug.
I will keep you all updated as new info comes.

An update could really come! :D