When I use exports for anything other than a basic type, for example just the following script on a new empty project:
public partial class Example : Node3D
[Export] public FastNoiseLite fastNoiseLite;
Every time I make any change to
Example and build my project (Alt+B) it unassigns the field in the inspector. I need to build the project quite frequently, is there anything I can do to stop the inspector clearing out the value? I realize I could forget about the inspector and instantiate it in
_Ready() but I’d prefer to be able to make in-editor changes.