-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GDExtension: _ready, _enter_tree, _process, etc. not being called anymore #82377
Comments
Which commit of godot-cpp are you using? You need to use godotengine/godot-cpp@bf2f9e2 in order for it to be compatible with the latest Godot I've definitely tested |
I just checked in the MRP attached to this issue, and it's using godotengine/godot-cpp@c44c3d5 (one commit behind I also quickly retested with one of my test projects and the latest |
I only ever fetch from latest Godot master. The latest commit was 7e67b49. It's in the godot version above. |
I'm talking about godot-cpp (At least at the moment, if another change is made to Godot |
I pulled https://github.com/godotengine/godot-cpp fresh before I posted. But I see there's a new commit now. Let me try. |
Yep, sample gets notifications again. Big project still crashes on Intel but runs now on NVIDIA at least. Different issue. |
Godot version
v4.2.dev.custom_build [7e67b49]
System information
Ubuntu 23.04 Lunar Lobster
Issue description
After the latest Godot rebuild from git none of these virtual functions are called anymore:
void _ready() override;
void _enter_tree() override;
void _exit_tree() override;
void _process(double delta) override;
void _physics_process(double delta) override;
My project is borked, won't even start anymore. I'll include simple sample code below. I suppose all GDExtension code is affected.
Is this related to #80284? If yes how can I turn reloading of GDExtensions off?
Steps to reproduce
expected output:
TestMesh::TestMesh()
TestMesh::_enter_tree()
TestMesh::_ready()
TestMesh::_process()
TestMesh::_physics_process()
...
actual output:
TestMesh::TestMesh()
Minimal reproduction project
gdextension_notifications_not_called.zip
The text was updated successfully, but these errors were encountered: