Does anyone have a link to some documentation on what this does in godot 4.3 ? It seems that classes registered with it cannot be used in the editor. I was under the impression that they would just not be executed while in the editor… so _physics_process() would not need the if (Engine::get_singleton()->is_editor_hint()) return; line to stop it executing if not at runtime but it seems not.
When I registered classes using it (after upgrading my project from 4.2 to 4.3) godot complained that it could not see those classes.
Just a node that activates its methods only at runtime, for example, if you created a new Node type class that overrides _ready(), _ready() would be called in the editor and runtime with GDREGISTER_CLASS(). With GDREGISTER_RUNTIME_CLASS()_ready() will only be called at runtime.
Thanks Tirt… Yes, that is what I thought it should do. I’m guessing I mucked up in migrating my repository from 4.2.1 to 4.3 somewhere. I shall give it another go.