-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
GDExtensions not working with beta 10 #70524
Comments
Did you not forget, update it to godotengine/godot-cpp@3da6db4 ? |
No, I update it, in fact, everything compiles correctly. If I don't update I have the error due to the renaming of the GDNative in GDExtension. |
Any news about this? I tried with Godot 11 and it still not working, even the test inside the godot-cpp. |
Possibly a duplicate of #71090. Is there any error in the console? Can you share your gdextension config file? |
these are the errors I have in the console:
I'm using the standard gdextension file contained in the godot-cpp repos.
|
I tested on Linux, compiling current godot-cpp godotengine/godot-cpp@512ec5b with When I open the demo project with 4.0 beta 11, I do get the "SCRIPT ERROR" in the console the first time (that's a known issue the first time Godot loads a new extension), but then it works fine when running the project, or on subsequent editor runs. |
Thank you, I deleted everything and downloaded it from scratch and it seems to work now. It seems that something was compiled wrong even if I manually deleted all the dlls and the .obj files. |
Godot version
4.0 beta 10
System information
Windows 11
Issue description
The classes bonded with GDExtension are not recognized. When you open the editor with some GDExtension plugin it fails to load the classes in the plugin.
Steps to reproduce
Compile the godot-cpp, compile the test (included in godot cpp) voth with scons target=template_debug, open the editor and load the test.
Minimal reproduction project
"N/A"
The text was updated successfully, but these errors were encountered: