-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
Unable to recreate GDExtension instance with hot reloading enabled #1673
Comments
Hi, I was wondering if anyone had managed to have a look at this yet? |
It sounds like |
Is |
in CMake:
In SCons the equivalent flag is |
also, if the flag is not specified, then only the template_debug and editor builds define |
Godot version
4.3-stable (Double precision)
godot-cpp version
4.3-stable (Double precision)
System information
Windows 10, R9 7900, RX 7900XT
Issue description
Debug compile for Windows 10, using CMake included via FetchContent and enabling hot reloading via
GODOT_ENABLE_HOT_RELOAD
set toON
orYES
results in aUnable to recreate GDExtension instance - does this extension support hot reloading?
error when rebuilding the project.I've verified that the gdextension file has reloading enabled by adding a status message to the godot-cpp cmake file to print out the value of
GODOT_ENABLE_HOT_RELOAD
and make sure that it propagates from the top level which it does.Steps to reproduce
GODOT_ENABLE_HOT_RELOAD
from inside the CMakeLists to ensure that the value is set properlycmake -B ./build -DPRECISION="double"
cmake --build ./build --config Debug --parallel *desired thread count*
Unable to recreate GDExtension instance - does this extension support hot reloading?
should be in the outputMinimal reproduction project
https://github.com/LouChiSoft/GDFlecs
The text was updated successfully, but these errors were encountered: