Patch map nodes disconnected (0.5.9)

Loading up a 5.9 save I made one week ago, I saw that all the nodes of the patch map (default Pangonia) were not connected to each other. I cannot move to a new patch, even after playing a generation in the patch that I’m currently on.

FYI, the save state was made in the microbe editor, not in the patch during active gameplay, so the editor is the first thing you see when you load the save.

I was not doing anything weird prior to this happening; I just opened the game and loaded the save. Tried opening it multiple times but I have the same problem every time. This was not a problem when I started this save last week.

Here’s a snippet from the log that I think is relevant. Auto evo fails and aborts when you finish playing a generation. I can Pastebin the whole log if it helps, or upload the save file if I can figure out where it’s stored.

Summary

Auto-evo failed with an exception: System.AggregateException: One or more errors occurred. (Can’t select a random item from an empty sequence) —> System.ArgumentException: Can’t select a random item from an empty sequence at ListUtils.Random[T] (System.Collections.Generic.List1[T] items, System.Random random) [0x0000c] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvo.FindBestMigration.GetRandomMigration () [0x00080] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvo.FindBestMigration.TryVariant () [0x00000] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvo.VariantTryingStep.RunStep (AutoEvo.RunResults results) [0x0002d] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvoRun.RunSingleStepToCompletion (AutoEvo.IRunStep step) [0x00008] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvoRun+<>c__DisplayClass55_0.<Step>b__1 () [0x00000] in <5208d8567ee64dd29346dd4ccb964802>:0 at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <1400ea11d6fd49d4939be686a9549fb4>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Threading.Tasks.Task.Wait () [0x00000] in <1400ea11d6fd49d4939be686a9549fb4>:0 at TaskExecutor.RunTasks (System.Collections.Generic.IEnumerable1[T] tasks, System.Boolean runExtraTasksOnCallingThread) [0x0009e] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvoRun.Step () [0x0011c] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvoRun.Run () [0x00018] in <5208d8567ee64dd29346dd4ccb964802>:0 —> (Inner Exception #0) System.ArgumentException: Can’t select a random item from an empty sequence at ListUtils.Random[T] (System.Collections.Generic.List1[T] items, System.Random random) [0x0000c] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvo.FindBestMigration.GetRandomMigration () [0x00080] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvo.FindBestMigration.TryVariant () [0x00000] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvo.VariantTryingStep.RunStep (AutoEvo.RunResults results) [0x0002d] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvoRun.RunSingleStepToCompletion (AutoEvo.IRunStep step) [0x00008] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvoRun+<>c__DisplayClass55_0.<Step>b__1 () [0x00000] in <5208d8567ee64dd29346dd4ccb964802>:0 at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <1400ea11d6fd49d4939be686a9549fb4>:0 <--- External effect can't be applied: System.Collections.Generic.KeyNotFoundException: The given key 'Carbunculus natador (1)' was not present in the dictionary. at System.Collections.Concurrent.ConcurrentDictionary2[TKey,TValue].ThrowKeyNotFoundException (System.Object key) [0x00010] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Collections.Concurrent.ConcurrentDictionary`2[TKey,TValue].get_Item (TKey key) [0x0000b] in <1400ea11d6fd49d4939be686a9549fb4>:0 at AutoEvo.RunResults.GetPopulationInPatchIfExists (Species species, Patch patch) [0x00000] in <5208d8567ee64dd29346dd4ccb964802>:0 at AutoEvoRun.ApplyExternalEffects () [0x000a6] in <5208d8567ee64dd29346dd4ccb964802>:0

Here’s a screenshot.

Its probably because the save is from a different version of the game

It surely helps if you can upload the whole log to pastebin. 0.5.9 is not save-compatible with rc1 and there isn’t a warning I think. It is most probably because save structure completely changed. Based on the current log, connections between patches lost.

If you made the save with 0.5.9 RC1 that’s definitely one reason why it would be broken, the game should have warned you about loading a potentially incompatible save.

The save file would be more useful in this case.


Anyway I can actually confirm that saving the classic map is actually broken, so I’m opening an issue:

1 Like

A fix has been made. Multiple patchmap fixes by 84634E1A607A · Pull Request #3571 · Revolutionary-Games/Thrive · GitHub

2 Likes

Finally found where my saves are stored, but it sounds like the problem has already been identified. Thanks for looking into this!