HDIAndrew / EFS

12 stars 0 forks source link

Can't load save game+game crash #82

Closed Azim03 closed 1 year ago

Azim03 commented 1 year ago

I can't load my save (year 5069) the game freeze and crash without any messages. I can't load any autosave until the year 5064.

Expected behavior: Loading savegame

Actual behavior: crash game instead loading

Game version: 1.5 for beta tester

Steps to reproduce:

  1. star the game.
  2. Try to load savegame

Additional information: there is 5064 to 5069 sav.

sav.zip

HDIAndrew commented 1 year ago

Thanks. When you load 5064 and continue playing, does it repeat this behavior?

Azim03 commented 1 year ago

i will see.

Azim03 commented 1 year ago

Yes, i play until 5068, then i off the game few hours.

It don't load anymore exept 5064 again

HDIAndrew commented 1 year ago

Good to know. Sounds like a "units out of order" bug

Matt-Caspermeyer commented 1 year ago

I was able to fix the issue with not loading the save games.

Note that the crash was caused by a unit being designated as cargo and not having a transport.

The implemented fix will mark units that are designated as cargo not cargo if they don't have a corresponding transport. If they are also in space and not a space move type, then they are marked for deletion and deleted.

This does not solve the root cause of the problem, but allows loading of saves with units that are "transportless" and marked as cargo.

The update should be provided in the next update...

HDIAndrew commented 1 year ago

Glad to get that part fixed