Open dazKind opened 1 year ago
(Please disregard if this is unwarranted, I just thought I'd chip in with some related links).
If unregistering classes at runtime doesn't work out there's some discussion going on in other places I've been thinking about: https://github.com/godotengine/godot/issues/66231 https://github.com/godot-rust/gdextension/issues/1
I don't know how feasible implementing ScriptLanguageExtension
would be, as mentioned in the Godot issue. It might also be worth talking to the rust people to see what their plan is?
Thanks for your input. Quite an interesting read. It is definitely important to deal with classdb re-registration correctly.
Test classdb_unregister_extension_class and and check how Godot deals with it. This is necessary to allow for hot-reloading classes in a cool way