Crash upon opening microbe editor (v.0.5.9)

Game (v0.5.9) crashes when I enter the microbe editor. Editor screen flashes for a second and crash with the following crash log:

Jukebox now playing from: MicrobeEditor

Background task caused an exception: System.AggregateException: One or more errors occurred. (Value was either too large or too small for an Int32.) —> System.OverflowException: Value was either too large or too small for an Int32.

at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Int32.Parse (System.String s, System.G

Region abandoned: 5 Unhandled Exception: System.AggregateException: One or more errors occurred. (Value was either too large or too small for an Int32.) —> System.OverflowException: Value was either too large or too small for an Int32. at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Number.ParseInt32

Please put your logs on pastebin.com
and if the game crashed also get the crash report. Instructions here: 0.4.0.1 Crash Reports

Could you provide the full logs? You’ve cut the exception trace to be too short to determine where the actual problem is coming from.

1 Like

Here is the full log:

Process Started

Setting breakpad minidump AppID = 1779200

SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561199083916706 [API loaded no]

Godot Engine v3.4.4.stable.mono..3089e490a - https://godotengine.org

OpenGL ES 3.0 Renderer: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2

OpenGL ES Batching: ON

Mono: Log file is: 'C:/Users/Jude/AppData/Roaming/Thrive/mono/mono_logs/2022-09-08_15.20.53_16112.log'

This is Thrive version: 0.5.9.0

Startup C# locale is: en-US Godot locale is: en_US

user:// directory is: C:/Users/Jude/AppData/Roaming/Thrive

Game logs are written to: C:/Users/Jude/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: en-US Godot locale is: en

Starting Steam load

Steam load finished

Game is owned by current Steam user

Our app id is: 1779200

Loaded registry for Compound with 12 items

Loaded registry for Enzyme with 4 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 15 items

Loaded registry for OrganelleDefinition with 25 items

Loaded registry for MusicCategory with 7 items

Loaded registry for HelpTexts with 6 items

Loaded registry for NamedInputGroup with 8 items

Loaded registry for Gallery with 3 items

Loaded registry for DifficultyPreset with 4 items

SimulationParameters loading ended

SimulationParameters are good

Loading mod Nodes into the scene tree

Jukebox now playing from: Menu

Jukebox: starting track: res://assets/sounds/main-menu-theme-1.ogg position: 0

Previous patch doesn't exist, despawning all entities.

Applying patch (Esasenian Volcanic Vent) settings

Number of clouds in this patch = 9

Registering new spawner: Name: ammonia density: 0.8

Registering new spawner: Name: glucose density: 0.4

Registering new spawner: Name: phosphates density: 0.8

Registering new spawner: Name: hydrogensulfide density: 0.8

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 = 5

Registering new spawner: Name: FLOATING_HAZARD density: 1

Registering new spawner: Name: SMALL_IRON_CHUNK density: 0.5

MARINE_SNOW spawn density is 0. It won't spawn

Registering new spawner: Name: BIG_IRON_CHUNK density: 0.8

Registering new spawner: Name: GOOGLY_EYE_CELL density: 0.001

Number of species in this patch = 1

Registering new spawner: Name: 1 density: 0.01386294

Player Microbe spawned

World generation settings: [LAWK: False, Difficulty preset: Normal, Life origin: Vent, Seed: 1815449593, MP multiplier: 1, AI mutation multiplier: 2, Compound density: 1, Player death population penalty: 1, Glucose decay: 0.8, Osmoregulation multiplier: 1, Free glucose cloud: True, Map type: Procedural, Include Multicellular: True, Easter eggs: True]

Jukebox now playing from: MicrobeStage

TaskExecutor started with parallel job count: 3

Jukebox: starting track: res://assets/sounds/microbe-theme-3.ogg position: 0

Jukebox: starting track: res://assets/sounds/soundeffects/microbe-ambience.ogg position: 0

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.0465968

New species has become part of the world: Primum itun (2)

Jukebox now playing from: MicrobeEditor

Background task caused an exception: System.AggregateException: One or more errors occurred. (Value was either too large or too small for an Int32.) ---> System.OverflowException: Value was either too large or too small for an Int32.

at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Int32.Parse (System.String s, System.Globali

Unhandled Exception: System.AggregateException: One or more errors occurred. (Value was either too large or too small for an Int32.) ---> System.OverflowException: Value was either too large or too small for an Int32. at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Int32.Parse (System.String s, System.Globalization.NumberStyles style, System.IFormatProvider provider) [0x0001d] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Convert.ToInt32 (System.String value, System.IFormatProvider provider) [0x00005] in <1400ea11d6fd49d4939be686a9549fb4>:0 at InProgressSave.FindExistingSavesOfType (System.Int32& totalCount, System.String& oldestSave, System.String matchRegex) [0x00058] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at InProgressSave.GetNextNameForSaveType (System.String regex, System.String newNameStart, System.Int32 maxSaveCount) [0x00000] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at InProgressSave.CalculateNameForSave () [0x000f6] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at System.Threading.Tasks.Task`1[TResult].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`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <1400ea11d6fd49d4939be686a9549fb4>:0 at InProgressSave.Step () [0x000f6] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at Invoke._Process (System.Single delta) [0x00033] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 ---> (Inner Exception #0) System.OverflowException: Value was either too large or too small for an Int32. at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Int32.Parse (System.String s, System.Globalization.NumberStyles style, System.IFormatProvider provider) [0x0001d] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Convert.ToInt32 (System.String value, System.IFormatProvider provider) [0x00005] in <1400ea11d6fd49d4939be686a9549fb4>:0 at InProgressSave.FindExistingSavesOfType (System.Int32& totalCount, System.String& oldestSave, System.String matchRegex) [0x00058] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at InProgressSave.GetNextNameForSaveType (System.String regex, System.String newNameStart, System.Int32 maxSaveCount) [0x00000] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at InProgressSave.CalculateNameForSave () [0x000f6] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <1400ea11d6fd49d4939be686a9549fb4>:0 <--- Unhandled Exception: System.AggregateException: One or more errors occurred. (Value was either too large or too small for an Int32.) ---> System.OverflowException: Value was either too large or too small for an Int32. at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Int32.Parse (System.String s, System.Globalization.NumberStyles style, System.IFormatProvider provider) [0x0001d] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Convert.ToInt32 (System.String value, System.IFormatProvider provider) [0x00005] in <1400ea11d6fd49d4939be686a9549fb4>:0 at InProgressSave.FindExistingSavesOfType (System.Int32& totalCount, System.String& oldestSave, System.String matchRegex) [0x00058] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at InProgressSave.GetNextNameForSaveType (System.String regex, System.String newNameStart, System.Int32 maxSaveCount) [0x00000] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at InProgressSave.CalculateNameForSave () [0x000f6] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at System.Threading.Tasks.Task`1[TResult].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`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <1400ea11d6fd49d4939be686a9549fb4>:0 at InProgressSave.Step () [0x000f6] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at Invoke._Process (System.Single delta) [0x00033] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 ---> (Inner Exception #0) System.OverflowException: Value was either too large or too small for an Int32. at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Int32.Parse (System.String s, System.Globalization.NumberStyles style, System.IFormatProvider provider) [0x0001d] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Convert.ToInt32 (System.String value, System.IFormatProvider provider) [0x00005] in <1400ea11d6fd49d4939be686a9549fb4>:0 at InProgressSave.FindExistingSavesOfType (System.Int32& totalCount, System.String& oldestSave, System.String matchRegex) [0x00058] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at InProgressSave.GetNextNameForSaveType (System.String regex, System.String newNameStart, System.Int32 maxSaveCount) [0x00000] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at InProgressSave.CalculateNameForSave () [0x000f6] in <a03fb81d5ab54e5caa584e40fc27f88f>:0 at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <1400ea11d6fd49d4939be686a9549fb4>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <1400ea11d6fd49d4939be686a9549fb4>:0 <---

zation.NumberStyles style, System.IFormatProvider provider) [0x0001d] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Convert.ToInt32 (System.String value, System.IFormatProvider provider) [0x00005] in <1400ea11d6fd49d4939be686a9549fb4>:0

at InProgressSave.FindExistingSavesOfType (System.Int32& totalCount, System.String& oldestSave, System.String matchRegex) [0x00058] in <a03fb81d5ab54e5caa584e40fc27f88f>:0

at InProgressSave.GetNextNameForSaveType (System.String regex, System.String newNameStart, System.Int32 maxSaveCount) [0x00000] in <a03fb81d5ab54e5caa584e40fc27f88f>:0

at InProgressSave.CalculateNameForSave () [0x000f6] in <a03fb81d5ab54e5caa584e40fc27f88f>:0

at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Threading.Tasks.Task.Execute () [0x00000] in <1400ea11d6fd49d4939be686a9549fb4>:0

--- End of inner exception stack trace ---

---> (Inner Exception #0) System.OverflowException: Value was either too large or too small for an Int32.

at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Int32.Parse (System.String s, System.Globalization.NumberStyles style, System.IFormatProvider provider) [0x0001d] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Convert.ToInt32 (System.String value, System.IFormatProvider provider) [0x00005] in <1400ea11d6fd49d4939be686a9549fb4>:0

at InProgressSave.FindExistingSavesOfType (System.Int32& totalCount, System.String& oldestSave, System.String matchRegex) [0x00058] in <a03fb81d5ab54e5caa584e40fc27f88f>:0

at InProgressSave.GetNextNameForSaveType (System.String regex, System.String newNameStart, System.Int32 maxSaveCount) [0x00000] in <a03fb81d5ab54e5caa584e40fc27f88f>:0

at InProgressSave.CalculateNameForSave () [0x000f6] in <a03fb81d5ab54e5caa584e40fc27f88f>:0

at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <1400ea11d6fd49d4939be686a9549fb4>:0

at System.Threading.Tasks.Task.Execute () [0x00000] in <1400ea11d6fd49d4939be686a9549fb4>:0 <---

src\steamnetworkingsockets\clientlib\steamnetworkingsockets_lowlevel.cpp (3243) : Trying to close low level socket support, but we still have sockets open!

src\steamnetworkingsockets\clientlib\steamnetworkingsockets_lowlevel.cpp (3243) : Trying to close low level socket support, but we still have sockets open!

child process exited with code 1

First of all please use code blocks or the “hide summary” for really long text.

The formatting is not the best with missing line changes, but I did spot something:

So to me it looks like the game is saving when you enter the editor, and it is finding the next name to use for an auto save. Which errors out because it’s trying to convert some text that’s not a suitable number to a 32-bit number.

I suspect you may have an “auto save” on your computer where you’ve manually edited the name to cause that code to break. For now you can probably either disable auto saving or delete all auto-saves / just saves that seem to have a weird name.

I’ve opened an issue to add safeguards in the code against this: