"read only" folder attribute is ignored by windows and should be ignored by the game
I spend a lot of time away from home, so i use google drive to automatically save my game saves to the cloud. i am including that part solely on the off chance that there could be some factor i'm unaware of, as it has worked up until now without incident. suddenly, however, the game is unable to delete its own backup folders, and as such is having an issue when saving the game state, when the number of backup saves grow to exceed whatever we have set as the maximum number of backups to keep. folders are always marked with attributes RD (read only, directory) and this is completely ignored by the operating system and has been for a very long time, since storage is now cheap and plentiful. yet, space engineers is unable to delete a folder marked RD? is there something I'm missing here? i've checked the status of every file in the save and this is the only thing that i can think of that could potentially be causing it.
this is the error i'm receiving, and it happens every 5 minutes after the total backups exceed the prescribed setting. i can stop it by turning the number of backups to zero, but what point is an option that cannot be used?
2025-12-20 15:22:56.910 - Thread: 20 -> There was an error while saving snapshot.
2025-12-20 15:22:56.919 - Thread: 20 -> Exception occurred: System.IO.IOException: Access to the path 'C:\Users\cptno\AppData\Roaming\SpaceEngineers\Saves\76561198120288978\PAAA 1.208 test 2\Backup\2025-12-20 143612' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Sandbox.Game.World.MySessionSnapshot.Backup(String targetDir, String backupDir)
at Sandbox.Game.World.MySessionSnapshot.Save(Func`1 screenshotTaken, String thumbName, Action`1 progress)
2025-12-20 15:22:56.919 - Thread: 20 -> Session snapshot save - END
2025-12-20 15:22:56.945 - Thread: 1 -> SaveFinished: failed to save the world at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Sandbox.Game.Screens.Helpers.MyAsyncSaving.SaveFinished(MySessionSnapshot snapshot)
at ParallelTasks.Parallel.RunCallbacks()
at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)
I like this feedback
Replies have been locked on this page!