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
this all works fine during runtime, but when I exit the editor or the game after these have been loaded, I get this error
ERROR: BUG: Unreferenced static string to 0: forward
at: unref (./core/string/string_name.cpp:120)
ERROR: BUG: Unreferenced static string to 0: backward
at: unref (./core/string/string_name.cpp:120)
ERROR: BUG: Unreferenced static string to 0: left
at: unref (./core/string/string_name.cpp:120)
ERROR: BUG: Unreferenced static string to 0: right
at: unref (./core/string/string_name.cpp:120)
what am I doing wrong here?
Steps to reproduce
create a local static variable of type StringName using the StringName(const char*,bool) constructor with the bool being true. (local static because it seems like trying to do global static causes a crash)
close or otherwise reload the extension.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered:
Godot version
v4.3.1.rc.custom_build [b51be503c]
godot-cpp version
4.3.stable
System information
Fedora 41
Issue description
In order to make certain constants faster for comparison, I made static arrays of StringName I.E.
this all works fine during runtime, but when I exit the editor or the game after these have been loaded, I get this error
what am I doing wrong here?
Steps to reproduce
create a local static variable of type StringName using the StringName(const char*,bool) constructor with the bool being true. (local static because it seems like trying to do global static causes a crash)
close or otherwise reload the extension.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: