godotengine / godotengine/godot-cpp
Godot 4.4 beta 4 hot-reloading not working.
- Dominant language
- C++
- Stars
- 2.7k
- Forks
- 809
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 8
Description
### Godot version
Godot 4.4 beta 4
### godot-cpp version
master
### System information
Fedora Kinoite 41
### Issue description
After compiling any part of the code, every public code to show in Godot gui, disappear.
In Cmake I tried this:
```cmake
set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -fno-omit-frame-pointer -O0 -DHOT_RELOAD_ENABLED -DDEBUG_ENABLED -DDEBUG_METHODS_ENABLED")
```
tried this:
```cmake
set(GODOT_ENABLE_HOT_RELOAD ON CACHE INTERNAL "Enable hot reloading support")
set(GODOT_CPP_SYSTEM_HEADERS ON CACHE INTERNAL "Generate system headers")
#set(GODOT_CPP_WARNING_AS_ERROR OFF CACHE INTERNAL "Treat warnings as errors")
set(GENERATE_TEMPLATE_GET_NODE ON CACHE INTERNAL "Get template node")
set(FLOAT_PRECISION "${PRECISION}" CACHE INTERNAL "Library precision")
set(GODOT_CUSTOM_API_FILE "${EXTENSION_FILE}" CACHE INTERNAL "Extension api file")
```
and this.
```md
reloadable = true
```
I tried this with 4.3 and 4.4 beta 1,2,3 and 4
### Steps to reproduce
Launch Godot, edit some part of the code, compile and disappears every public code and not showing in godot GUI.
Before:

After:

### Minimal reproduction project
Could happen with a new project.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.