Crash When Overwriting Existing Save, Save Deleted

DrVenkman

New Member
Oct 17, 2025
10
26
Had my first crash in KSA today. I tried to overwrite an existing save file by selecting the save, right-clicking and attempting to overwrite. After confirming, the screen went black for a moment and the game crashed. Checking the file path for that save shows a now-empty folder.

Windows Event Viewer shows three entries of significance.

First, a Dot Net Runtime Error:
Event 1026

Application: KSA.exe
CoreCLR Version: 9.0.1125.51716
.NET Version: 9.0.11
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException: Access to the path '\\?\C:\Users\herbl\OneDrive\Documents\My Games\Kitten Space Agency\saves\Phobos Orbit 20251117' is denied.
at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at System.IO.DirectoryInfo.Delete(Boolean recursive)
at KSA.UncompressedSave.Delete()
at KSA.UncompressedSave.Overwrite()
at KSA.SuccessActionPopup.OnSuccess()
at KSA.SuccessActionPopup.<>c.<.cctor>b__5_1(Popup popup)
at KSA.PopupButton`1.DrawUi(T parent, Single width)
at KSA.Popup.DrawUi[TPopup](TPopup parent, IPopupWidget`1[] widgets)
at KSA.ConfirmActionPopup.OnDrawUi()
at KSA.Popup.DrawAll()
at KSA.Program.OnDrawUi(Double dt)
at KSA.Program.RenderImGui(Double dt)
at KSA.Program.OnFrame(Double currentPlayerTime, Double dtPlayer)
at KSA.App.Run()
at KSA.Program.Main(String[] inArgs)

Second, an Application Error:
Event 1000

Application: KSA.exe
CoreCLR Version: 9.0.1125.51716
.NET Version: 9.0.11
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException: Access to the path '\\?\C:\Users\herbl\OneDrive\Documents\My Games\Kitten Space Agency\saves\Phobos Orbit 20251117' is denied.
at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at System.IO.DirectoryInfo.Delete(Boolean recursive)
at KSA.UncompressedSave.Delete()
at KSA.UncompressedSave.Overwrite()
at KSA.SuccessActionPopup.OnSuccess()
at KSA.SuccessActionPopup.<>c.<.cctor>b__5_1(Popup popup)
at KSA.PopupButton`1.DrawUi(T parent, Single width)
at KSA.Popup.DrawUi[TPopup](TPopup parent, IPopupWidget`1[] widgets)
at KSA.ConfirmActionPopup.OnDrawUi()
at KSA.Popup.DrawAll()
at KSA.Program.OnDrawUi(Double dt)
at KSA.Program.RenderImGui(Double dt)
at KSA.Program.OnFrame(Double currentPlayerTime, Double dtPlayer)
at KSA.App.Run()
at KSA.Program.Main(String[] inArgs)

Finally, Windows Error Reporting:
Event 1001

Fault bucket 2289976346757639278, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: KSA.exe
P2: 2025.11.5.2819
P3: 67200000
P4: System.Private.CoreLib
P5: 9.0.1125.51716
P6: ed3570a1
P7: 87c4
P8: 4a
P9: System.IO.IOException
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.5abef63d-069a-4a32-b28c-fded83e9be4b.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.b9138f69-c6e7-46d3-a007-6c5002548e6f.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.983a1d6f-915e-4804-8c58-2605b2f06bad.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.84160126-c455-420e-b8e2-017cf651b9c0.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.a39ee180-c862-46da-8067-88b3bf658004.tmp.xml

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_KSA.exe_4e4e8cd03c8960dd70a7b63b8875d264ebb4124_5d33a9a5_c8f0c8c7-53e6-4bb4-aef8-59fab18e83ee

Analysis symbol:
Rechecking for solution: 0
Report Id: 3f49f230-9354-451c-af48-3bf534035651
Report Status: 268435456
Hashed bucket: f9bbbcb0862eba47cfc7a15ac4892c6e
Cab Guid: 0

I would include my save file but apparently attempting to overwrite it deleted the existing save. For folder for that save is now empty.
 
Upvote 0