Skip to content

Godot 4.4 beta 4 hot-reloading not working. #1712

Open
@chriztheanvill

Description

@chriztheanvill

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:

set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -fno-omit-frame-pointer -O0 -DHOT_RELOAD_ENABLED -DDEBUG_ENABLED -DDEBUG_METHODS_ENABLED")

tried this:

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.

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:

Image

After:

Image

Minimal reproduction project

Could happen with a new project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis has been identified as a bugneeds testing

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions