-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
dylib inside godot project breaks hot reaload #871
Comments
Do you have any classes marked with |
The included code is all I have in the project |
have you tried to restart godot editor? |
Restarting the editor allows the rust extension to function again until I do another |
Ok, moving the location of the I guess this is okay for development, but for builds the Any thoughts on what I could do here? |
I'm actually not sure if the book advice still true. I recently exported a project (Windows Release) without changing anything in my paths, and it seemed to work. Could you verify this with Godot 4.3? About the error you get:
This seems to happen here: gdext/godot-core/src/meta/class_name.rs Line 182 in b39396b
So classes are unloaded, but the cache still points to them. I wonder why this happens 🤔 |
I am running into the same problem. I did rename my lib and the file locations at some point after I registrered it with godot. @tbillington Did you re-name your extension? Maybe the cache is not getting updated from the original value. |
Possibly related to godotengine/godot-cpp#1573 and the now solved godotengine/godot-cpp#1589. Would be interesting to see if it still occurs in last Godot nightly builds... There's also godotengine/godot-cpp#1594. |
Hey, I'm getting errors in godot whenever I try to use hot reloading in Godot 4.3 (non-mono). I'm on 7634fe7 of
gdext
which is the latest as of now, with theapi-4-3
feature enabled.Screen.Recording.2024-08-24.at.12.28.19.PM.mp4
The error I get is related to
ClassName
it seems.My code is just vanilla book starter
Rust 1.80
The text was updated successfully, but these errors were encountered: