Fixed Savegame corruption

Discussion in 'Fixed (Read Only)' started by jlego, Jul 27, 2021.

  1. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    Build: 3435
    Mode: Singleplayer and coop (dedicated not tested)

    SERVER NAME: n/a
    SEED-ID: multiple

    If applicable:
    MODIFIED PLAYFIELDS: no

    Reproducibility: Always
    Severity: Major

    Type: Save Game

    Summary: Save game is corrupted while playing / after exiting

    Description: A new game starts and plays normally, but upon exiting, it can be observed that the save game is corrupt. Additionally, an error apparently related to reading/writing the .ply file can be found in the logs (example log from affected system attached). Issue only affects one of the two affected systems available for testing.

    Steps to Reproduce:
    1. Start new singleplayer game
    2. Wait for escape pod to land
    3. Exit to menu, then go to Resume Game
    4. Observe save game is corrupt
    5. Also, open log for session, and observe error with player file

    Screenshots, Crash Logs, any other Relevant Information or Download links:
    • Issue only affects @elmo and not my own system
    • Issue does not occur with build currently on stable branch (3390)
    • Issue occurs with all seeds and other start options tested
    • Sufficient free storage space exists on installed drive
    • Cache folder has been cleared, and files verified in Steam, with no effect
    • Affected system specs:
      • Athlon X4 670K
      • 16MB DDR3 2133MHz
      • GeForce GTX1660 8GB
      • SATA SSD 256MB
    • Unaffected system specs:
      • Intel Core i5-11600KF
      • 24GB DDR4 2666MHz
      • GeForce GTX970 4GB
      • NVMe SSD 1TB
    • Attached files (in zip archive):
      • Corrupt save game from affected system (NewGame)
      • Log file corresponding to the creation of this save game (elmo - Client_210727-155231-42.log)
      • Log file created from same seed on unaffected system (jlego - Client_210727-154948-16.log)
     

    Attached Files:

    #1
    Last edited: Jul 28, 2021
    Germanicus likes this.
  2. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,249
    Likes Received:
    5,708
    This is very strange no one has reported such an issue...just a stab in the dark can you confirm what version of .Net is installed of the affected system ?
    A quick way to do this is to go to:
    C:\Windows\Microsoft.NET\Framework\v4.0.30319
    place your mouse cursor over "Accessibility.dll" right click & select Properties > Details & make sure the file version says:
    "File version: 4.8 4084.0"
     
    #2
    Germanicus likes this.
  3. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    Just checked, and it does say 4.8.4084.0.
     
    #3
    elmo and Germanicus like this.
  4. Germanicus

    Germanicus Rear Admiral

    Joined:
    Jan 22, 2018
    Messages:
    4,491
    Likes Received:
    8,521
    I did not have any corrupted Save game on my end, neither before Unity upgrade nor after:confused:(still don't).
    But I have only Win7 and my File version is a different one
    NET.png
     
    #4
    elmo likes this.
  5. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    No idea why this machine is affected, not able to reproduce it on my own system and haven’t seen anyone else mention it (though I’m not sure if that might be due to the relatively small number of testers in Experimental).

    Even tried renaming the save game folder so that the game would recreate it in case there was some weird permissions issue, which it did, but the issue still happens (all the files and folders in a normal new game are there, in a freshly created Saves folder, but the game still complains it’s corrupt). Both the affected and unaffected systems are on the Windows 10 21H1 update.
     
    #5
    elmo and Germanicus like this.
  6. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    After swapping save files between the two systems (and renaming the .ply file as appropriate for the different Steam IDs), I’ve a couple of extra data points:
    • Save games started on the affected system also appear corrupt on the unaffected system.
    • Save games started on the unaffected system do not initially appear corrupt when resuming on the affected system, but after loading the game and exiting to the menu, the save is corrupted.
     
    #6
    elmo and Germanicus like this.
  7. Germanicus

    Germanicus Rear Admiral

    Joined:
    Jan 22, 2018
    Messages:
    4,491
    Likes Received:
    8,521
    Seems to point towards an Issue with @elmo 's Engine... any background update running yesterday?
    I looked up issues with .NET and found this - > https://thetechyinfo.com/fix-net-framework-issue/
    in which NVIDIA is named too.

    If life is not entertaining enough have issues with a Computer and all hell breaks loose
     
    #7
    elmo likes this.
  8. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    That issue causes system performance issues, though, and not any issues with .NET functionality. It doesn’t look like it’s related to this issue.
     
    #8
    elmo and Germanicus like this.
  9. Germanicus

    Germanicus Rear Admiral

    Joined:
    Jan 22, 2018
    Messages:
    4,491
    Likes Received:
    8,521
    Well than thats off the table..
    Was my kind of "Schuss ins Blaue"(stab in the dark)
     
    #9
    jlego and elmo like this.
  10. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    Just tried a complete reinstall (with fresh EGS Steam folder), and that made no difference either. Stumped with this one, can’t think of anything else to try.
     
    #10
    Germanicus likes this.
  11. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    Just edited post to confirm that coop is also affected.
     
    #11
    Germanicus likes this.
  12. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    More testing: replaced the .ply file in the corrupted save game with a copy from my own (uncorrupted) version of the save game and started it on the unaffected system.

    The game was playable, and all structures were present, so it appears that it’s only the .ply file that gets corrupted on the affected system.
     
    #12
    Germanicus likes this.
  13. Robot Shark

    Robot Shark Rear Admiral

    Joined:
    Jul 3, 2016
    Messages:
    2,197
    Likes Received:
    5,765
    I am getting a CoQ when I exit the game and go back to the main menu.
    It has happened both times I exited my survival game.
    The save has loaded when I came back to it, but this may be related.
     
    #13
    Germanicus and elmo like this.
  14. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    Might be worth reporting that as it’s own bug so that it doesn’t get lost in this thread. The exceptions in the log look different, so I think that’s probably an unrelated issue.
     
    #14
    Germanicus and Robot Shark like this.
  15. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,249
    Likes Received:
    5,708
    We'll have a potential fix for this done in the next release hopefully before the weekend.
     
    #15
  16. jlego

    jlego Captain

    Joined:
    Oct 18, 2016
    Messages:
    81
    Likes Received:
    194
    Great, thanks :)
     
    #16
    Germanicus and elmo like this.
  17. elmo

    elmo Captain

    Joined:
    Sep 26, 2017
    Messages:
    73
    Likes Received:
    215
    Thank you Pantera, can't wait to get playing again.
     
    #17
    jlego, Myrmidon and Germanicus like this.
  18. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,249
    Likes Received:
    5,708
    Please update to v1.5.5 B3437 now available on the exp branch & see if the issue is now resolved for you.
     
    #18
  19. elmo

    elmo Captain

    Joined:
    Sep 26, 2017
    Messages:
    73
    Likes Received:
    215
    just tried this on new game and it is working fine and all other games started that were showing as corrupt are now okay. Thank you very much and I'll get back to playing properly after dinner.
     
    #19
    Germanicus, Pantera and jlego like this.
  20. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,249
    Likes Received:
    5,708

Share This Page