View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0012404 | Bionic Dues | Crash/Exception | Sep 13, 2013 3:34 am | Sep 26, 2013 4:02 pm | |
Reporter | GrimerX | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.908 | ||||
Fixed in Version | 0.922 | ||||
Summary | 0012404: Data loss -- error saving game results in savegame file being deleted | ||||
Description | In this case the file was apparently locked by IE because I had selected it for upload, but not uploaded it yet. After I backed out of the upload, I went to save again and the save file was gone. There is no copy in the 'backup' folder either. I was thankfully able to save again, but if I hadn't for any reason, I would have lost that game. Exception text: System.UnauthorizedAccessException: Access to the path "C:\Program Files (x86)\Steam\steamapps\common\Bionic_Dues\RuntimeData\Save\Game2.save" is denied. at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool) at Configuration.AppendTextToFile (System.String Filename, System.String Text, Int32 MaxFileSize) [0x00000] in <filename unknown>:0 at World.SaveWorldToDisk (System.String SaveName) [0x00000] in <filename unknown>:0 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool) at Configuration.AppendTextToFile (System.String Filename, System.String Text, Int32 MaxFileSize) [0x00000] in <filename unknown>:0 at World.SaveWorldToDisk (System.String SaveName) [0x00000] in <filename unknown>:0 at System.Environment.get_StackTrace() at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) at ArcenDebugging.ArcenDebugLog(System.Exception Exception) at World.SaveWorldToDisk(System.String SaveName) at World.SaveEverythingRightNow(System.String Filename) at SaveGameWindow.FinishSaving(System.String fileName) at SaveGameWindow+<>c__DisplayClassc.<DoSave>b__a(Boolean ) at ConfirmPopup.HandleConfirmClick(Boolean WasRightClick) at ArcenQueuedButtonClickDelegate.Execute() at ArcenGUIManager.DrawGUI() at MainCameraLogic.OnGUI() | ||||
Tags | No tags attached. | ||||
Internal Weight | Major Problem | ||||
|
For 0.922: * The save-game process, in the "overwriting existing save" case, now: ** Creates a backup before deleting the existing save. ** If the backup cannot be created, the save operation is aborted as presumably the attempt to actually save the game would also fail. A message to this effect is displayed. ** If the backup operation succeeds, but the save operation fails, it then tries to copy the backup back into the previously existing save location. *** If THAT recover operation fails, it displays a different message emphasizing that the previously existing save file is now gone and that the player try saving to another location. Thanks :) |
Date Modified | Username | Field | Change |
---|---|---|---|
Sep 13, 2013 3:34 am | GrimerX | New Issue | |
Sep 13, 2013 3:52 pm | tigersfan | Internal Weight | => Major Problem |
Sep 13, 2013 3:52 pm | tigersfan | Assigned To | => Chris_McElligottPark |
Sep 13, 2013 3:52 pm | tigersfan | Status | new => assigned |
Sep 26, 2013 4:02 pm | keith.lamothe | Note Added: 0034091 | |
Sep 26, 2013 4:02 pm | keith.lamothe | Status | assigned => resolved |
Sep 26, 2013 4:02 pm | keith.lamothe | Fixed in Version | => 0.922 |
Sep 26, 2013 4:02 pm | keith.lamothe | Resolution | open => fixed |
Apr 14, 2014 9:28 am | Chris_McElligottPark | Category | Bug - Crash or Exception => Crash/Exception |