-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Hot Reloading is not supported #30
Comments
I'm not sure how solvable this is, Go doesn't strictly support |
Same here! But editor just closes silently. Without any additional logs |
The idea I've got for hot reloading is to use Go plugins on supported platforms, we can just reload the plugin and hot swap it with the code running in the loaded shared library. Issue is.. Go plugins are not available on windows, so I'm not quite sure how to get hot reloading working on it. |
Maybe WASM I guess EDIT: the web port shows this is feasible but it will take some work to create yet another startup layer for WASM hot-reloading. We will probably also want to re-use WASM for console support, so I think this is the way to go here. Maybe we can support plugins on Linux/Mac too but then we will be maintaining four different startup adapters. |
System information
Godot Engine v4.2.2.stable.official.15073afe3
Microsoft Windows NT 10.0.19045.0
Issue description
Godot editor crashes with error while recompiling library.
Steps to reproduce:
gd
command).Add a new object "NewLabel" in the Godot editor via "Add Chid Node".
With the editor running, recompile the library.
gd build
or
go build -o ./graphics/windows_amd64.dll -buildmode=c-shared
Then Godot editor crashes with error:
The text was updated successfully, but these errors were encountered: