You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug compile for Windows 10, using CMake included via FetchContent and enabling hot reloading via GODOT_ENABLE_HOT_RELOAD set to ON or YES results in a Unable 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.
Optional: Add a status print to the godot-cpp CMakeLists.txt inside the build folder and print the value of GODOT_ENABLE_HOT_RELOAD from inside the CMakeLists to ensure that the value is set properly
It sounds like HOT_RELOAD_ENABLED isn't defined when building your extension. I had thought the cmake configuration in the 4.3 branch did do that, but I haven't had a chance to double check
Is HOT_RELOAD_ENABLED different from GODOT_ENABLE_HOT_RELOAD? GODOT_ENABLE_HOT_RELOAD is the one in the comments at the top of the CMake file for Godot-cpp
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: