Odd little softlock i experienced after playing for a while

technically a softlock, but it began to “freeze” after loading the editor, everything just stopped working, the buttons did show that i was clicking them.

all i could do was close the game and copy the logs.

I was using experimental features if that matters at all.

1 Like

There’s none of the usual errors, but this part:

ERROR:    at: 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*) (:0)
ERROR: Exception thrown while trying to log another exception...
ERROR: ### Exception ###
ERROR: System.InvalidOperationException: This editor component is not initialized
ERROR:    at CellEditorComponent._Process(Double delta) in /home/hhyyrylainen/Projects/Thrive/src/microbe_stage/editor/CellEditorComponent.cs:line 768
ERROR:    at Godot.Node.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret)
ERROR:    at Godot.Control.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret)
ERROR:    at EditorComponentBase`1.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret) in /home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/EditorComponentBase(Of TEditor)_ScriptMethods.generated.cs:line 208
ERROR:    at EditorComponentWithActionsBase`2.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret) in /home/hhyyrylainen/Projects/Thrive/.godot/mono/temp/obj/ExportRelease/win-x64/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/EditorComponentWithActionsBase(Of TEditor, TAction)_ScriptMethods.generated.cs:line 228

(that’s the first error and then it looks like it repeats) is basically this problem:

So I think you probably ran into the Godot Engine failing to load game scenes eventually after playing long enough bug.

3 Likes

If the glitch doesn’t get fixed anytime soon, we should probably put a warning that playing for long time may cause a crash to occur somewhere.

1 Like