Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

editor keeps crashing

A topic by dunnowhattonamethis created 93 days ago Views: 149 Replies: 4
Viewing posts 1 to 2
(+1)

so im just trying to make a game, and when i save it and close the program, and come back a while later, when i try to load it, it says "HP. dat is corrupt, Player.dat is corrupt" etc, then when I load it, everything is gone, this happens too many times, honestly its getting a bit annoying.

here's the error:

Source: mscorlib

Reason: Path cannot be null.

Parameter name: path

Stack trace:    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode)

   at EasyFPSEditor15.Map.Save(Boolean prompt)

   at EasyFPSEditor15.Map.Reload()

   at EasyFPSEditor15.Editors.DecorationsEditor.DecorationsEditorFormClosing(Object sender, FormClosingEventArgs e)

   at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)

   at System.Windows.Forms.Form.RaiseFormClosingOnAppExit()

   at System.Windows.Forms.Application.ExitInternal()

   at System.Windows.Forms.Application.Exit(CancelEventArgs e)

   at EasyFPSEditor15.Program.ThreadException(Object sender, ThreadExceptionEventArgs t)

   at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)

   at System.Windows.Forms.Control.WndProcException(Exception e)

   at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

   at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, Int32 wParam, Int32 lParam)

   at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam, Int32 lparam)

   at System.Windows.Forms.Form.Close()

   at EasyFPSEditor15.Editors.DecorationsEditor.Button3Click(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

Hi, sorry to hear that!  
What version of the engine are you using, and where are you saving your project?  
Does it happen immediately if you create a new project, save it, close the editor, then load it again?
I'm aware of an issue where some people have had their project become corrupt after a power failure or system crash. Did you experience either of those?  

this happens both in the development build and 1.10.5, when trying to open my project after some time, the .dats get corrupted and all data is lost, it does not happen immediately, it seems random, by which i mean it can randomly happen when trying to open my project, not always, sometimes. i havent had power failures or system crashes too

Developer

Very strange...   
And you're not saving it to OneDrive or something like that?  
Because unless there's a weird storage issue, or your harddrive is dying, I have no idea why that could be happening.  

(3 edits)

I don't even use OneDrive. And this does not happen on old versions (EFPSE 1.6 and lower)