Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Fatal Error

A topic by SwanLakeStudios created Jul 03, 2024 Views: 236 Replies: 5
Viewing posts 1 to 4

Anytime i try to save my project and reload it i always get this error. Also ill be doing various random things that seem to have no correlation  and ill get a pop up saying fatal error closing program now. After that the game will always put this same error into the log. There was an older thread in this same discussion board titled "Error :(" that was this exact error. However there was never a solid solution mentioned by any reply. My project is saved inside the projects folder and everything is without spaces or improper names. Any input on this would be tremendously helpful.

Source: System.Drawing

Reason: Parameter is not valid.

Stack trace:    at System.Drawing.Bitmap..ctor(String filename)

   at EasyFPSEditor15.ResourceTexture.Load(String path)

   at EasyFPSEditor15.Resources.LoadSinglelineResource(String path, Int32 type)

   at EasyFPSEditor15.Resources.LoadAllResources(String dataPath)

   at EasyFPSEditor15.Editor.OpenProject(String name)

   at EasyFPSEditor15.ProjectsList.Button1Click(Object sender, EventArgs e)

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

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

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

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

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

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

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

Developer

This tool might be able to fix the issue for you automatically, just make sure you backup your project first
https://github.com/CG8516/EFPSE-Project-Fixer/releases

If that doesn't fix it, could you send me the Textures.dat file in your project folder?

WOW........ kind of speechless right now, that is exactly what I needed. That is some top top tier support right there. Thank you so so much!!!!

(2 edits)

I've also had this issue but i found a way to fix it . You have to build the project instead of saving it , this fixed the issue for me when i opened the project and didn't crash the editor or corrupt my files / assets (thought I should share)

YO! is this true? - Ive been so frustrated with my projects corrupting.  Do you have to "build and pack" or "build without packing" ? :)

(1 edit)

I just build without saving it since the build would save to the project 

(also my project got corrupted for an unknown reason a while ago, I'm not sure if this method 100% works since idk what caused it to corrupt so let me know if this way helps)