Auto-Evo exception in my cloned repository

Issue Description

After setting up my development environment I tried to run the game but got an exception in the auto-evo calculation (see Godot debug output below): Auto-evo failed with an exception: System.Collections.Generic.KeyNotFoundException: The given key ‘Patch “PATCH_PANGONIAN_MESOPELAGIC”’ was not present in the dictionary.

If temporarily fixed the problem in my dev environment by adding a check before the dictionary access so I can start development:

I tried building the solution with “dotnet CLI” and “MSBuild (VS Build Tools)” and both is the same.

Am I missing some configuration that has to be applied first?

Extra error information

— Debugging process started —
This is Thrive version: 0.5.6.1
Startup C# locale is: de-AT Godot locale is: de_DE
user:// directory is: C:/Users/micha/AppData/Roaming/Thrive
Game logs are written to: C:/Users/micha/AppData/Roaming/Thrive/logs latest log is ‘log.txt’
Godot Engine v3.4.stable.mono.official.206ba70f4 - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2
OpenGL ES Batching: ON

This is Thrive version: 0.5.6.1
Startup C# locale is: de-AT Godot locale is: de_DE
user:// directory is: C:/Users/micha/AppData/Roaming/Thrive
Game logs are written to: C:/Users/micha/AppData/Roaming/Thrive/logs latest log is ‘log.txt’
Doing delayed apply for some settings
Set audio output device to: Default
Set C# locale to: de-AT Godot locale is: de
No SteamClient class found, not initializing Steam
Loaded registry for Compound with 11 items
Loaded registry for MembraneType with 6 items
Loaded registry for Background with 11 items
Loaded registry for Biome with 11 items
Loaded registry for BioProcess with 13 items
Loaded registry for OrganelleDefinition with 18 items
Loaded registry for MusicCategory with 4 items
Loaded registry for HelpTexts with 5 items
Loaded registry for NamedInputGroup with 6 items
Loaded registry for Gallery with 3 items
SimulationParameters loading ended
SimulationParameters are good
Jukebox now playing from: Menu
Loading mod Nodes into the scene tree
Jukebox: starting track: res://assets/sounds/main-menu-theme-1.ogg position: 0
Previous patch doesn’t exist, despawning all entities.
Applying patch (Pangonische Schlote) settings
Number of clouds in this patch = 8
Registering new spawner: Name: ammonia density: 4E-05
Registering new spawner: Name: glucose density: 2E-05
Registering new spawner: Name: phosphates density: 4E-05
Registering new spawner: Name: hydrogensulfide density: 4E-05
oxygen spawn density is 0. It won’t spawn
carbondioxide spawn density is 0. It won’t spawn
nitrogen spawn density is 0. It won’t spawn
sunlight spawn density is 0. It won’t spawn
Number of chunks in this patch = 4
Registering new spawner: Name: FLOATING_HAZARD density: 0,0001
Registering new spawner: Name: SMALL_IRON_CHUNK density: 3E-05
MARINE_SNOW spawn density is 0. It won’t spawn
Registering new spawner: Name: BIG_IRON_CHUNK density: 8E-05
Number of species in this patch = 1
Registering new spawner: Name: 1 density: 1,438849E-05
Player Microbe spawned
Jukebox now playing from: MicrobeStage
TaskExecutor started with parallel job count: 8
Jukebox: starting track: res://assets/sounds/microbe-theme-3.ogg position: 0
Jukebox: starting track: res://assets/sounds/soundeffects/microbe-ambience.ogg position: 0
Auto-evo failed with an exception: System.Collections.Generic.KeyNotFoundException: The given key ‘Patch “PATCH_PANGONIAN_MESOPELAGIC”’ was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <1400ea11d6fd49d4939be686a9549fb4>:0
at AutoEvo.ForceExtinction.RunStep (AutoEvo.RunResults results) [0x00044] in C:\Users\micha\Documents_Daten\Programmieren\Thrive\Thrive\src\auto-evo\steps\ForceExtinction.cs:45
at AutoEvoRun.NormalRunPartOfNextStep () [0x00001] in C:\Users\micha\Documents_Daten\Programmieren\Thrive\Thrive\src\auto-evo\AutoEvoRun.cs:522
at AutoEvoRun.Step () [0x0016d] in C:\Users\micha\Documents_Daten\Programmieren\Thrive\Thrive\src\auto-evo\AutoEvoRun.cs:505
at AutoEvoRun.Run () [0x0001c] in C:\Users\micha\Documents_Daten\Programmieren\Thrive\Thrive\src\auto-evo\AutoEvoRun.cs:436
Move to editor pressed
Elapsing time on editor entry
TimedWorldOperations: running effects. elapsed: 1 total passed: 100000000
Applying auto-evo results. Auto-evo run took: 00:00:00.0743082
New species has become part of the world: Primum Pelashin (2)
New species has become part of the world: Vican Arotstir (3)
Starting microbe editor with: 1 organelles in the microbe
Editor action is now: cytoplasm
Jukebox now playing from: MicrobeEditor
Creating a save with name: auto_save_4.thrivesave
save finished, success: True message: Speichern erfolgreich elapsed: 00:00:00.8392573
Jukebox: starting track: res://assets/sounds/microbe-editor-theme-1.ogg position: 0
— Debugging process stopped —

Do you have the latest source code, because that file looks like this:

on the master branch?

Ah, that’s it. I must have cloned just before your commit yesterday - bad timing. Thanks for the help.

1 Like