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 is replacing all the define constants, including the ones defined by Godot (see docs for the full list).
Specifically, the TOOLS define constant is important because some special functions used by Godot to retrieve information about your C# classes are only included when TOOLS is defined.
@raulsntos
Thanks! This resolves the issue. I plan to create a PR for GodotSharp to alert C# users of this use case, as it may not produce an obvious error, potentially confusing the user.
Tested versions
v4.3.stable.mono.official [77dcf97]
System information
v4.3.stable.mono.official [77dcf97]
Issue description
Under certain unknown conditions, every C# script's export will become null and ineditable.
Steps to reproduce
Scenes/Main.tscn
QQ20241013-379.mp4
Minimal reproduction project (MRP)
MRP_ObjectsBecomeNull.zip
The text was updated successfully, but these errors were encountered: