Gathered energy became NaN after changing membrane type to Double

Save File
Error still occurs in save file after load, game will crash if you return to menu in this save (Editor).
Pastebin down, so Logs:

Godot Engine v4.5.stable.mono.official.876b29033 - https://godotengine.org
WARNING: Unable to initialize Windows common controls. Native dialogs may not work properly.
   at: DisplayServerWindows (platform/windows/display_server_windows.cpp:6940)
Vulkan 1.4.312 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3050

This is Thrive version: 0.9.1.1 (see below for more build info)
Thrive is starting at: Thursday, November 27, 2025 8:29:23 PM (log file name may say something else but this is the correct time)
Startup C# locale is: en-US Godot locale is: en_US
user:// directory is: C:/Users/Gia/AppData/Roaming/Thrive
Game logs are written to: C:/Users/Gia/AppData/Roaming/Thrive\logs latest log is 'log.txt'
Checked that required CPU features are present
Loaded native Thrive library version 20
Doing delayed apply for some settings
Set audio output device to: Default
Set C# locale to: en-US Godot locale is: en
Switching window mode from Windowed to Fullscreen
Starting load of Thrive GDExtension
Thrive GDExtension initialized successfully
Thrive extension load succeeded, version: 7
No SteamClient class found, not initializing Steam
TaskExecutor started with parallel job count: 4
SimulationParameters are good
This version of Thrive was built at Wednesday, 26 November 2025 17:04:17 from commit c4aa441d67a747e1dbd8bf37d0366767f816ad89 on branch master
Beginning Thrive news feed fetch
We were opened through the Thrive Launcher
Thrive Launcher started us, launcher hidden: False
We are playing a new version of Thrive for the first time, showing patch notes
Skipping clearing an UI input action: ui_accessibility_drag_and_drop
Disk cache loaded, total size: 6.0 MiB
Achievements data loaded
Jukebox now playing from: Menu
Jukebox: starting track: res://assets/sounds/main-menu-theme-1.ogg position: 0
Startup successful, removing startup info file
The following is not an error, but is printed as an error to ensure launcher always sees it without buffering:
------------ Thrive Startup Succeeded ------------
Detected launch ID from parameters: 8a58a34b-afdb-40c4-b1d2-542e6fd7c4d4
Deleting save: auto_save_3.thrivesave
Deleted save(s): auto_save_1.thrivesave, auto_save_5.thrivesave, auto_save_4.thrivesave, , 
Deleting save: auto_save_2.thrivesave
Previous patch doesn't exist, despawning all entities.
Applying patch (Tanarese Volcanic Vent) settings
Number of clouds in this patch = 9
Registering new spawner: Name: Ammonia density: 0.7836845
Registering new spawner: Name: Glucose density: 0.4230058
Registering new spawner: Name: Phosphates density: 0.8404749
Registering new spawner: Name: Hydrogensulfide density: 0.7463209
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
Temperature spawn density is 0. It won't spawn
Number of chunks in this patch = 10
Registering new spawner: Name: FLOATING_HAZARD density: 1
Registering new spawner: Name: SMALL_IRON_CHUNK density: 0.773525
Registering new spawner: Name: BIG_IRON_CHUNK density: 0.5317985
Registering new spawner: Name: SMALL_SULFUR_CHUNK density: 0.46645054
Registering new spawner: Name: MEDIUM_SULFUR_CHUNK density: 0.13993517
Registering new spawner: Name: LARGE_SULFUR_CHUNK density: 0.037316043
Registering new spawner: Name: SMALL_PHOSPHATE_CHUNK density: 0.31517807
Registering new spawner: Name: BIG_PHOSPHATE_CHUNK density: 0.063035615
Registering new spawner: Name: RADIOACTIVE_CHUNK density: 0.2534329
Registering new spawner: Name: GOOGLY_EYE_CELL density: 0.0010575146
Number of species in this patch = 1
Registering new spawner: Name: 1 density: 0.08606451
World generation settings: [LAWK: True, Difficulty: normal preset, Life origin: Vent, Seed: 6293755342045435604, Size: Medium, Day/night cycle enabled: True, Day length: 180, Include multicellular: True, Easter eggs: True]
Jukebox now playing from: MicrobeStage
Saving latest played Thrive version to be: 0.9.1.1
Starting preload of 72 stage resources
Jukebox: starting track: res://assets/sounds/microbe-theme-8.ogg position: 0
Jukebox: starting track: res://assets/sounds/soundeffects/underwater-explosions-ambience.ogg position: 0
Stage load finished, will enter properly now
Movement mode selection notice permanently dismissed
Detected player is no longer alive after last simulation update
The player has died
Applying immediate population effect to Primum thrivium (1), constant: -20, coefficient: 0.6666667, reason: player died
Jukebox: starting track: res://assets/sounds/microbe-theme-8.ogg position: 0
Doing a fetch cycle before despawning terrain so that we have them all
Auto-saving game for the first time editor is available
Resizing screenshot for smaller save file
Creating a save with name: auto_save_1.thrivesave
save finished, success: True message: Saving succeeded elapsed: 00:00:00.3838877
Move to editor pressed
Starting microbe editor with: 1 organelles in the microbe
Elapsing time on editor entry
TimedWorldOperations: running effects. elapsed: 1 total passed: 100000000
Applying auto-evo results. Auto-evo run took: 00:00:00.0972860
Jukebox now playing from: MicrobeEditor
Resizing screenshot for smaller save file
Creating a save with name: auto_save_2.thrivesave
save finished, success: True message: Saving succeeded elapsed: 00:00:00.2076932
Jukebox: starting track: res://assets/sounds/microbe-editor-theme-2.ogg position: 0
SPECIES_POPULATION chart missing datasets, aborting plotting data
SPECIES_POPULATION chart missing datasets, aborting plotting data
Placing organelle 'chemoSynthesizingProteins' at: 0, 1
Placing organelle 'hydrogenase' at: 0, -1
Jukebox: starting track: res://assets/sounds/microbe-editor-theme-4.ogg position: 0
MicrobeEditor: applying changes to edited Species
MicrobeEditorReportComponent: applying changes of component
MicrobeEditorPatchMap: applying changes of component
MicrobeEditorPatchMap: applying player move to patch: Tanarese Sea Floor
AI will try to follow player migration to make the world less empty
CellEditorComponent: applying changes of component
Modified species name to: Primum thrivium
MicrobeEditor: updated organelles for species: Primum thrivium
Previous patch (Tanarese Volcanic Vent) different to current patch (Tanarese Sea Floor) despawning all entities.
Applying patch (Tanarese Sea Floor) settings
Number of clouds in this patch = 9
Changing spawn density of Ammonia from 0.7836845 to 0.2907
Changing spawn density of Glucose from 0.4230058 to 0.43399274
Changing spawn density of Phosphates from 0.8404749 to 0.34680074
Changing spawn density of Hydrogensulfide from 0.7463209 to 0.29852834
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
Temperature spawn density is 0. It won't spawn
Number of chunks in this patch = 10
Changing spawn density of SMALL_IRON_CHUNK from 0.773525 to 0.5326999
Changing spawn density of BIG_IRON_CHUNK from 0.5317985 to 0.5326999
Changing spawn density of SMALL_SULFUR_CHUNK from 0.46645054 to 0.36649814
MEDIUM_SULFUR_CHUNK spawn density is 0. It won't spawn
LARGE_SULFUR_CHUNK spawn density is 0. It won't spawn
Changing spawn density of SMALL_PHOSPHATE_CHUNK from 0.31517807 to 0.98360336
BIG_PHOSPHATE_CHUNK spawn density is 0. It won't spawn
MARINE_SNOW spawn density is 0. It won't spawn
Changing spawn density of GOOGLY_EYE_CELL from 0.0010575146 to 0.001084982
Number of species in this patch = 2
Registering new spawner: Name: 2 density: 0.17212902
Primum thrivium population <= 0. Skipping Cell Spawn in patch.
Removed MEDIUM_SULFUR_CHUNK spawner.
Removed LARGE_SULFUR_CHUNK spawner.
Removed BIG_PHOSPHATE_CHUNK spawner.
Removed RADIOACTIVE_CHUNK spawner.
Removed 1 spawner.
Jukebox now playing from: MicrobeStage
Showing compounds panel as tutorial has been cancelled
Starting preload of 72 stage resources
Reused 72 already loaded resources
Stage load finished, will enter properly now
Jukebox: starting track: res://assets/sounds/microbe-theme-7.ogg position: 0
Jukebox: starting track: res://assets/sounds/soundeffects/microbe-ambience2.ogg position: 0
Resizing screenshot for smaller save file
Creating a save with name: auto_save_3.thrivesave
save finished, success: True message: Saving succeeded elapsed: 00:00:00.3777920
Move to editor pressed
SPECIES_POPULATION chart missing datasets, aborting plotting data
Starting microbe editor with: 3 organelles in the microbe
Elapsing time on editor entry
TimedWorldOperations: running effects. elapsed: 1 total passed: 200000000
Applying auto-evo results. Auto-evo run took: 00:00:00.4372233
Particles are already correct, no need to recreate
Jukebox now playing from: MicrobeEditor
Resizing screenshot for smaller save file
Creating a save with name: auto_save_4.thrivesave
save finished, success: True message: Saving succeeded elapsed: 00:00:00.2371150
Jukebox: starting track: res://assets/sounds/microbe-editor-theme-4.ogg position: 7.543583
TODO: implement per-species pages in the Thriveopedia
TODO: implement per-species pages in the Thriveopedia
TODO: implement per-species pages in the Thriveopedia
Jukebox: starting track: res://assets/sounds/microbe-editor-theme-3.ogg position: 0
MicrobeEditor: applying changes to edited Species
MicrobeEditorReportComponent: applying changes of component
MicrobeEditorPatchMap: applying changes of component
CellEditorComponent: applying changes of component
Modified species name to: Primum thrivium
MicrobeEditor: updated organelles for species: Primum thrivium
Applying patch (Tanarese Sea Floor) settings
Number of clouds in this patch = 9
Changing spawn density of Ammonia from 0.2907 to 0.29053798
Changing spawn density of Glucose from 0.43399274 to 0.34719422
Changing spawn density of Hydrogensulfide from 0.29852834 to 0.26624152
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
Temperature spawn density is 0. It won't spawn
Number of chunks in this patch = 10
MEDIUM_SULFUR_CHUNK spawn density is 0. It won't spawn
LARGE_SULFUR_CHUNK spawn density is 0. It won't spawn
BIG_PHOSPHATE_CHUNK spawn density is 0. It won't spawn
MARINE_SNOW spawn density is 0. It won't spawn
Number of species in this patch = 4
Registering new spawner: Name: 6 density: 0.28215668
Registering new spawner: Name: 5 density: 0.24169509
Registering new spawner: Name: 3 density: 0.22285178
Registering new spawner: Name: 1 density: 0.07843989
Removed 2 spawner.
Particles are already correct, no need to recreate
Jukebox now playing from: MicrobeStage
Starting preload of 72 stage resources
Reused 72 already loaded resources
Stage load finished, will enter properly now
Jukebox: starting track: res://assets/sounds/microbe-theme-7.ogg position: 118.42177
Jukebox: starting track: res://assets/sounds/soundeffects/microbe-ambience2.ogg position: 118.40145
Resizing screenshot for smaller save file
Creating a save with name: auto_save_5.thrivesave
save finished, success: True message: Saving succeeded elapsed: 00:00:00.4612274
We are at a milestone towards an achievement, showing that info
Showing a popup about an achievement: MICROBIAL_MASSACRE
Move to editor pressed
Starting microbe editor with: 3 organelles in the microbe
Elapsing time on editor entry
TimedWorldOperations: running effects. elapsed: 1 total passed: 300000000
Applying auto-evo results. Auto-evo run took: 00:00:01.2808650
Particles are already correct, no need to recreate
Jukebox now playing from: MicrobeEditor
Resizing screenshot for smaller save file
Creating a save with name: auto_save_1.thrivesave
save finished, success: True message: Saving succeeded elapsed: 00:00:00.2410136
Jukebox: starting track: res://assets/sounds/microbe-editor-theme-3.ogg position: 36.21442
TODO: implement per-species pages in the Thriveopedia
TODO: implement per-species pages in the Thriveopedia
TODO: implement per-species pages in the Thriveopedia
TODO: implement per-species pages in the Thriveopedia
Placing organelle 'chemoreceptor' at: 0, -2
Jukebox: starting track: res://assets/sounds/microbe-editor-theme-5.ogg position: 0
Placing organelle 'hydrogenase' at: 0, 2
MicrobeEditor: applying changes to edited Species
MicrobeEditorReportComponent: applying changes of component
MicrobeEditorPatchMap: applying changes of component
CellEditorComponent: applying changes of component
Modified species name to: Primum thrivium
MicrobeEditor: updated organelles for species: Primum thrivium
Applying patch (Tanarese Sea Floor) settings
Number of clouds in this patch = 9
Changing spawn density of Ammonia from 0.29053798 to 0.2607154
Changing spawn density of Glucose from 0.34719422 to 0.27775538
Changing spawn density of Hydrogensulfide from 0.26624152 to 1.7107439
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
Temperature spawn density is 0. It won't spawn
Number of chunks in this patch = 10
MEDIUM_SULFUR_CHUNK spawn density is 0. It won't spawn
LARGE_SULFUR_CHUNK spawn density is 0. It won't spawn
BIG_PHOSPHATE_CHUNK spawn density is 0. It won't spawn
Registering new spawner: Name: MARINE_SNOW density: 3.4824998
Number of species in this patch = 4
Changing spawn density of 6 from 0.28215668 to 0.2551853
Changing spawn density of 1 from 0.07843989 to 0.11722985
Registering new spawner: Name: 9 density: 0.22828546
Registering new spawner: Name: 10 density: 0.2017294
Removed 5 spawner.
Removed 3 spawner.
Particles are already correct, no need to recreate
Jukebox now playing from: MicrobeStage
Starting preload of 72 stage resources
Reused 72 already loaded resources
Stage load finished, will enter properly now
Jukebox: starting track: res://assets/sounds/microbe-theme-7.ogg position: 302.60532
Jukebox: starting track: res://assets/sounds/soundeffects/microbe-ambience2.ogg position: 302.58502
Resizing screenshot for smaller save file
Creating a save with name: auto_save_2.thrivesave
save finished, success: True message: Saving succeeded elapsed: 00:00:00.4970553
Move to editor pressed
Starting microbe editor with: 5 organelles in the microbe
Elapsing time on editor entry
TimedWorldOperations: running effects. elapsed: 1 total passed: 400000000
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Extinct species Okolera vupunnien (5) had an external effect, ignoring the effect
Applying auto-evo results. Auto-evo run took: 00:00:02.0917820
Particles are already correct, no need to recreate
Jukebox now playing from: MicrobeEditor
Resizing screenshot for smaller save file
Creating a save with name: auto_save_3.thrivesave
save finished, success: True message: Saving succeeded elapsed: 00:00:00.2386514
Jukebox: starting track: res://assets/sounds/microbe-editor-theme-5.ogg position: 67.6078
Placing organelle 'hydrogenase' at: 0, 3
Changing membrane to 'double'
Changing membrane back to 'single'
Placing organelle 'hydrogenase' at: 0, 3
Changing membrane to 'double'
Resizing screenshot for smaller save file
Creating a save with name: Primum_thrivium.thrivesave
save finished, success: True message: Saving succeeded elapsed: 00:00:00.2555154
Starting load of save: Primum_thrivium.thrivesave
Save file program version: 0.9.1.1
Starting microbe editor with: 6 organelles in the microbe
Hiding loading screen for editor as we were loaded from a save
load finished, success: True message: Load finished elapsed: 00:00:01.3262077
Changing membrane to 'single'
Changing membrane to 'double'
Jukebox: starting track: res://assets/sounds/microbe-editor-theme-2.ogg position: 0
Starting load of save: Primum_thrivium.thrivesave
ERROR: Parent node is busy setting up children, `add_child()` failed. Consider using `add_child.call_deferred(child)` instead.
   at: add_child (scene/main/node.cpp:1689)
   C# backtrace (most recent call first):
       [0] void Godot.Node.AddChild(Godot.Node, bool, Godot.Node+InternalMode)
       [1] void SceneManager.AttachScene(Godot.Node) (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:156)
       [2] void SceneManager.AttachAndDetachScene(Godot.Node) (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:150)
       [3] void EditorBase`2._ExitTree() (/home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorBase.cs:248)
       [4] void MicrobeEditor._ExitTree() (/home/hhyyrylainen/Projects/Thrive/src/microbe_stage/editor/MicrobeEditor.cs:135)
       [5] bool Godot.Node.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&)
       [6] bool EditorBase`2.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&) (/home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/EditorBase(Of TAction, TStage)_ScriptMethods.generated.cs:538)
       [7] bool MicrobeEditor.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&) (/home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/MicrobeEditor_ScriptMethods.generated.cs:258)
       [8] Godot.NativeInterop.godot_bool Godot.Bridge.CSharpInstanceBridge.Call(nint, Godot.NativeInterop.godot_string_name*, Godot.NativeInterop.godot_variant**, int, Godot.NativeInterop.godot_variant_call_error*, Godot.NativeInterop.godot_variant*)
       [9] void Godot.NativeCalls.godot_icall_1_56(nint, nint, nint)
       [10] void SceneManager.DetachCurrentScene() (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:176)
       [11] void InProgressLoad.Start() (/home/hhyyrylainen/Projects/Thrive/src/saving/InProgressLoad.cs:66)
       [12] void SaveHelper.LoadSave(string) (/home/hhyyrylainen/Projects/Thrive/src/saving/SaveHelper.cs:224)
       [13] void SaveList.LoadSave() (/home/hhyyrylainen/Projects/Thrive/src/saving/SaveList.cs:402)
       [14] void TransitionManager+Sequence.StartNext() (/home/hhyyrylainen/Projects/Thrive/src/gui_common/TransitionManager.cs:304)
       [15] void TransitionManager+Sequence.Process() (/home/hhyyrylainen/Projects/Thrive/src/gui_common/TransitionManager.cs:271)
       [16] void TransitionManager._Process(double) (/home/hhyyrylainen/Projects/Thrive/src/gui_common/TransitionManager.cs:51)
       [17] bool Godot.Node.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&)
       [18] bool Godot.Control.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&)
       [19] bool TransitionManager.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&) (/home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/TransitionManager_ScriptMethods.generated.cs:88)
       [20] Godot.NativeInterop.godot_bool Godot.Bridge.CSharpInstanceBridge.Call(nint, Godot.NativeInterop.godot_string_name*, Godot.NativeInterop.godot_variant**, int, Godot.NativeInterop.godot_variant_call_error*, Godot.NativeInterop.godot_variant*)
ERROR: Parent node is busy setting up children, `move_child()` failed. Consider using `move_child.call_deferred(child, index)` instead (or `popup.call_deferred()` if this is from a popup).
   at: _move_child (scene/main/node.cpp:513)
   C# backtrace (most recent call first):
       [0] void SceneManager.EnsureShutdownIsLastChild() (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:260)
       [1] void SceneManager.AttachScene(Godot.Node) (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:158)
       [2] void SceneManager.AttachAndDetachScene(Godot.Node) (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:150)
       [3] void EditorBase`2._ExitTree() (/home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorBase.cs:248)
       [4] void MicrobeEditor._ExitTree() (/home/hhyyrylainen/Projects/Thrive/src/microbe_stage/editor/MicrobeEditor.cs:135)
       [5] bool Godot.Node.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&)
       [6] bool EditorBase`2.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&) (/home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/EditorBase(Of TAction, TStage)_ScriptMethods.generated.cs:538)
       [7] bool MicrobeEditor.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&) (/home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/MicrobeEditor_ScriptMethods.generated.cs:258)
       [8] Godot.NativeInterop.godot_bool Godot.Bridge.CSharpInstanceBridge.Call(nint, Godot.NativeInterop.godot_string_name*, Godot.NativeInterop.godot_variant**, int, Godot.NativeInterop.godot_variant_call_error*, Godot.NativeInterop.godot_variant*)
       [9] void Godot.NativeCalls.godot_icall_1_56(nint, nint, nint)
       [10] void SceneManager.DetachCurrentScene() (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:176)
       [11] void InProgressLoad.Start() (/home/hhyyrylainen/Projects/Thrive/src/saving/InProgressLoad.cs:66)
       [12] void SaveHelper.LoadSave(string) (/home/hhyyrylainen/Projects/Thrive/src/saving/SaveHelper.cs:224)
       [13] void SaveList.LoadSave() (/home/hhyyrylainen/Projects/Thrive/src/saving/SaveList.cs:402)
       [14] void TransitionManager+Sequence.StartNext() (/home/hhyyrylainen/Projects/Thrive/src/gui_common/TransitionManager.cs:304)
       [15] void TransitionManager+Sequence.Process() (/home/hhyyrylainen/Projects/Thrive/src/gui_common/TransitionManager.cs:271)
       [16] void TransitionManager._Process(double) (/home/hhyyrylainen/Projects/Thrive/src/gui_common/TransitionManager.cs:51)
       [17] bool Godot.Node.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&)
       [18] bool Godot.Control.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&)
       [19] bool TransitionManager.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&) (/home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/TransitionManager_ScriptMethods.generated.cs:88)
       [20] Godot.NativeInterop.godot_bool Godot.Bridge.CSharpInstanceBridge.Call(nint, Godot.NativeInterop.godot_string_name*, Godot.NativeInterop.godot_variant**, int, Godot.NativeInterop.godot_variant_call_error*, Godot.NativeInterop.godot_variant*)
ERROR: Parent node is busy adding/removing children, `remove_child()` can't be called at this time. Consider using `remove_child.call_deferred(child)` instead.
   at: remove_child (scene/main/node.cpp:1718)
   C# backtrace (most recent call first):
       [0] void SceneManager.DetachScene(Godot.Node) (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:163)
       [1] void SceneManager.AttachAndDetachScene(Godot.Node) (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:151)
       [2] void EditorBase`2._ExitTree() (/home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorBase.cs:248)
       [3] void MicrobeEditor._ExitTree() (/home/hhyyrylainen/Projects/Thrive/src/microbe_stage/editor/MicrobeEditor.cs:135)
       [4] bool Godot.Node.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&)
       [5] bool EditorBase`2.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&) (/home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/EditorBase(Of TAction, TStage)_ScriptMethods.generated.cs:538)
       [6] bool MicrobeEditor.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&) (/home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/MicrobeEditor_ScriptMethods.generated.cs:258)
       [7] Godot.NativeInterop.godot_bool Godot.Bridge.CSharpInstanceBridge.Call(nint, Godot.NativeInterop.godot_string_name*, Godot.NativeInterop.godot_variant**, int, Godot.NativeInterop.godot_variant_call_error*, Godot.NativeInterop.godot_variant*)
       [8] void Godot.NativeCalls.godot_icall_1_56(nint, nint, nint)
       [9] void SceneManager.DetachCurrentScene() (/home/hhyyrylainen/Projects/Thrive/src/engine/SceneManager.cs:176)
       [10] void InProgressLoad.Start() (/home/hhyyrylainen/Projects/Thrive/src/saving/InProgressLoad.cs:66)
       [11] void SaveHelper.LoadSave(string) (/home/hhyyrylainen/Projects/Thrive/src/saving/SaveHelper.cs:224)
       [12] void SaveList.LoadSave() (/home/hhyyrylainen/Projects/Thrive/src/saving/SaveList.cs:402)
       [13] void TransitionManager+Sequence.StartNext() (/home/hhyyrylainen/Projects/Thrive/src/gui_common/TransitionManager.cs:304)
       [14] void TransitionManager+Sequence.Process() (/home/hhyyrylainen/Projects/Thrive/src/gui_common/TransitionManager.cs:271)
       [15] void TransitionManager._Process(double) (/home/hhyyrylainen/Projects/Thrive/src/gui_common/TransitionManager.cs:51)
       [16] bool Godot.Node.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&)
       [17] bool Godot.Control.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&)
       [18] bool TransitionManager.InvokeGodotClassMethod(Godot.NativeInterop.godot_string_name&, Godot.NativeInterop.NativeVariantPtrArgs, Godot.NativeInterop.godot_variant&) (/home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/TransitionManager_ScriptMethods.generated.cs:88)
       [19] Godot.NativeInterop.godot_bool Godot.Bridge.CSharpInstanceBridge.Call(nint, Godot.NativeInterop.godot_string_name*, Godot.NativeInterop.godot_variant**, int, Godot.NativeInterop.godot_variant_call_error*, Godot.NativeInterop.godot_variant*)

1 Like

I’ll check the save tomorrow, but I already today received a save about a NaN calculated energy bug, so I’ll need to see if this is a new case or the same one.

Update: this was indeed a new and different problem so thanks for reporting it. I’ve made a fix for both problems now:

3 Likes