Comments (4)
Here's the relevant error:
USER ERROR: Method argument to Callable constructor must be a non-empty string
at: Callable (core/variant/callable.cpp:334)
USER ERROR: Cannot connect to '': the provided callable is null.
at: connect (core/object/object.cpp:1315)
USER ERROR: Index c.from &FLAG_MASK = 110 is out of bounds (nc = 17).
at: instantiate (scene/resources/packed_scene.cpp:522)
USER ERROR: System.NullReferenceException: Object reference not set to an instance of an object.
at Thriveopedia.AddPage(String name, IThriveopediaPage page) in /home/hhyyrylainen/Projects/Thrive/src/thriveopedia/Thriveopedia.cs:line 332
at Thriveopedia.set_CurrentGame(GameProperties value) in /home/hhyyrylainen/Projects/Thrive/src/thriveopedia/Thriveopedia.cs:line 130
at EditorBase`2.InitEditor(Boolean fresh) in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorBase.cs:line 550
at MicrobeEditor.InitEditor(Boolean fresh) in /home/hhyyrylainen/Projects/Thrive/src/microbe_stage/editor/MicrobeEditor.cs:line 140
at EditorBase`2.OnEnterEditor() in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorBase.cs:line 668
at MicrobeEditor.OnEnterEditor() in /home/hhyyrylainen/Projects/Thrive/src/microbe_stage/editor/MicrobeEditor.cs:line 188
at EditorBase`2._Ready() in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorBase.cs:line 208
at MicrobeEditor._Ready() in /home/hhyyrylainen/Projects/Thrive/src/microbe_stage/editor/MicrobeEditor.cs:line 70
at Godot.Node.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret)
at EditorBase`2.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret) in /home/hhyyrylainen/Projects/Thrive/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/EditorBase(Of TAction, TStage)_ScriptMethods.generated.cs:line 458
at MicrobeEditor.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret) in /home/hhyyrylainen/Projects/Thrive/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/MicrobeEditor_ScriptMethods.generated.cs:line 228
at Godot.Bridge.CSharpInstanceBridge.Call(IntPtr godotObjectGCHandle, godot_string_name* method, godot_variant** args, Int32 argCount, godot_variant_call_error* refCallError, godot_variant* ret)
at: void Godot.NativeInterop.ExceptionUtils.LogException(System.Exception) (:0)
USER ERROR: System.InvalidOperationException: Editor component not initialized
at EditorComponentWithActionsBase`2.UpdateMutationPointsBar(Boolean tween) in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorComponentWithActionsBase.cs:line 78
at EditorBase`2.OnMutationPointsChanged() in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorBase.cs:line 833
at EditorBase`2.CalculateMutationPointsLeft() in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorBase.cs:line 928
at EditorBase`2._Process(Double delta) in /home/hhyyrylainen/Projects/Thrive/src/general/base_stage/EditorBase.cs:line 281
at Godot.Node.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret)
at EditorBase`2.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret) in /home/hhyyrylainen/Projects/Thrive/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/EditorBase(Of TAction, TStage)_ScriptMethods.generated.cs:line 458
at MicrobeEditor.InvokeGodotClassMethod(godot_string_name& method, NativeVariantPtrArgs args, godot_variant& ret) in /home/hhyyrylainen/Projects/Thrive/Godot.SourceGenerators/Godot.SourceGenerators.ScriptMethodsGenerator/MicrobeEditor_ScriptMethods.generated.cs:line 228
at Godot.Bridge.CSharpInstanceBridge.Call(IntPtr godotObjectGCHandle, godot_string_name* method, godot_variant** args, Int32 argCount, godot_variant_call_error* refCallError, godot_variant* ret)
at: void Godot.NativeInterop.ExceptionUtils.LogException(System.Exception) (:0)
That last part then repeats indefinitely as the editor load has failed, which causes a ton of code to be skipped and it is an inconsistent state so it cannot work.
Here's my initial thoughts after looking at the code: this seems like a Godot scene instancing failure. The failing code is calling AddPage("PatchMap");
in the Thriveopedia and it crashes on line if (page.ParentPageName != null && allPages.Keys --
which should only be possible if the page variable is null. And the only reason that would be null if the scene instantiation fails, which Godot does seem to give some error message parts:
USER ERROR: Method argument to Callable constructor must be a non-empty string
at: Callable (core/variant/callable.cpp:334)
USER ERROR: Cannot connect to '': the provided callable is null.
at: connect (core/object/object.cpp:1315)
USER ERROR: Index c.from &FLAG_MASK = 110 is out of bounds (nc = 17).
at: instantiate (scene/resources/packed_scene.cpp:522)
My initial conclusion is that this also seems like a random Godot scene loading failure where it just randomly decides to not load a scene file correctly that usually loads completely fine. I haven't yet looked if there is an existing issue in Godot repository about this.
Edit: I can also confirm that this doesn't happen each time you load a save made in the microbe stage and wait until getting to the editor. I just did that with a random save I had and I didn't see this error.
from thrive.
@hhyyrylainen
Should I attach my current save file?
from thrive.
Only if loading it and going to the editor consistently causes the issue. I suspect it wouldn't but if it does then I'd be very interested to take a look.
from thrive.
Nope. This time everything was good. Seems like a random Godot crash. They should debug the engine well.
from thrive.
Related Issues (20)
- Art gallery model viewer light doesn't work correctly when 3D main menu backgrounds are enabled
- Patch extinction GUI is sized wrong
- Add Mucocyst effect
- AI should know how to use the signaling agent to send commands
- AI should be able to sometimes ignore signaling agent commands
- Make endosymbiosis target receive a population benefit
- Add GUI warning if an endosymbiosis candidate is not present in the current patch
- Editor finish button warning badge should have tooltip saying why it is showing
- Editor cancel button focused state has different border rounding compared to the red background
- Test that in-progress endosymbiosis doesn't cause problems when becoming multicellular
- Make Mutations.MutateMicrobeOrganelles and other mutations not throw exceptions
- Add text in organelle unlock conditions popup to mention endosymbiosis option
- Fix flagellum dissolve animation
- Add pilus damage cooldown on ejecting something
- Make cell corpse chunks use the real collision shapes of organelles
- Entering the game from freebuild editor for the first time briefly flashes the screen
- Auto-evo should penalize photosynthesisers without enough storage to survive the night
- UpdateInitialCompounds doesn't work with compound type specific storage
- Create a tool to pre-bake Jolt godot shapes before exporting
- Create a sound effect for removing a hex (organelle) in the editor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thrive.