#[0.0.7] Game will not save; asks if disk space is full

41 messages · Page 1 of 1 (latest)

hasty locust
#

I have sunk 35hrs into my save, logged off for the night, and when I opened the game back up the hnext morning, I found that I can't save my game. Both the manual and auto saving functions give an error saying that I can't save and asks if my disk if full. Both my harddrive and SSD are over 100GB each. I don't know what to do and it sucks I can't play the game anymore until this is resolved. Please help!

#

See bottom left of image

#

I have already tried:

  • Restarting the game
  • Restarting my computer
  • Uninstalling and reinstallling
  • Verify gamefiles (100% verified)
#

The screenshot above is when I tried starting a new game to see if the same error would happen (which it does)

frigid bane
#

Could you please attach your player.log (#faq) so we can see if there is an error?

hasty locust
#

Looks like halfway down the code it fails to save due to "system.UnauthorizedAccessException"

hasty locust
#

[0.0.7] Game will not save; asks if disk space is full

hasty locust
#

Just tried running the game as admin and it crashed and restarted and then failed to save again

hasty locust
#

I've tried turning off and on steam cloud sync, still doesn't work

hasty locust
#

Still stuck and without the ability to save. I just want to get this fixed asap so I can play again 😭

hasty locust
#

@frigid bane Have you had a chance to take a look at the logs?

hasty locust
#

please help I want to play so badly but I will have to refund if this can't be fixed as the game is completely unplayable without the ability to save my game

steel silo
#

Have you checked if any Antivirus program may be blocking it?

hasty locust
#

The game used to be able to save and I didn't change anything (or at least I didn't intentionally change anything on my system) so I just don't understand why the save function suddenly fails to work

hollow whale
#

you could try installing the game on a different drive/partition

#

oh wait, that doesn't change the save game location

#

is the save game location somehow read only?

#

you could also try to use link/junction to move the real save location

#

hm, seems like it can't access the tmp file in the temp folder

wet hill
#

remove files until you have space?

#

looks like your windows has blocked this file, either reboot / delete it / nuke it
SavegameCoordinator:: Saving game
Failed to save: System.UnauthorizedAccessException: Access to the path "C:\Users\mason\AppData\Local\Temp\tobspr Games\shapez 2\1724124361896-977871382.tmp" is denied.
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <787acc3c9a4c471ba7d971300105af24>:0

hasty locust
#

I'm going to try deleting the file and see if it works

#

oh my god

#

Both the tobspr Games filel and Shapez 2 file were read-only

#

IT SAVES IT WORKS

#

THANK YOU I LOVE YOU @wet hill & @hollow whale

hollow whale
#

so the question would be why was it read only and could it happen again?

#

seems very weird especially in the temp folder for something to be read only

wet hill
#

probably windows defender

hollow whale
#

and another thing I'm wondering is why is a save file in the temp folder? but that might be related to how shapez 2 saves, maybe it creates a temp save before creating the real one or something

hollow whale
hasty locust
#

I have no clue what could have caused it. There was only one thing that was somewhat weird that happened which is that the steam sync didn't work right away the morning that the save broke. But after turning it on and off the steam sync worked again, but the save was still broken

hasty locust
#

After that I also switched from my C drive to my B drive, but I did this after the save was already screwed up

hollow whale
#

maybe super edge case/bug that it automatically gets set to read only for a super short time for the sync (so I doesn't get changed while it gets synced or something) and something with the sync broke and read only never got removed or something? but seems weird

#

in any case, have fun now I guess!

jaunty cedar
#

Yeah I've just had a look into this, I'm really unsure why this would happen. We save the game to the temp folder first before moving it to the actual savegame folder (incase it fails to save) but there shouldn't be anything changing the permissions of the file/folder(s). I'm glad its fixed for you (right?) but I don't know how we'd re-produce this... :/

hasty locust
#

Seems like I'm the only other person that has had this issue so it must be something I did on my side that I shouldn't have