Hey all,
I'm not sure if this is a bug or I'm just doing something funky. I'm getting the error:
Parent node is busy setting up children, add_node() failed. Consider using call_deferred("add_child", child) instead.
Now I did figure out you're not supposed to use addchild inside _ready so I've refactored until all my _ready()s are clean and use calldeferred if adding nodes. However, I still get the error. I have a couple of more issues with it:
- It does not point to any specific line in my code. This makes it very hard to debug.
- It seems to run before my actual code is run. See below for a copy paste from my debugger. It shows right after -- Debugging process started --
- It also keeps appearing after I close the game down.
Does anyone know what's going on and how to solve this? Many thanks!
--- Debugging process started ---
Parent node is busy setting up children, add_node() failed. Consider using call_deferred("add_child", child) instead.
Godot Engine v3.5.stable.official.991bb6ac7 - https://godotengine.org
OpenGL ES 2.0 Renderer: Apple M1