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
Godot 4.1 RC1 does not update the [Export]ed members or the name of a type/class in inspector when
... creating a new class.cs file that inherits from node/resource
... renaming a class from A.cs to B.cs
... removing and adding the class to a Node/Resource
... adding enum values to an existing enum (doesnt matter if its [Flags])
... adding/removing [Export] on any member variable
... (and probably more use cases)
It only works when Project > "Reload Current Project"
Steps to reproduce
Create a new .cs file that inherits from a Node or Resource
Assign it a Node/Resource
Add any sort of variables to the .cs file
Add the [Export] attribute to these variables/members
Build the Code using Alt+B
Watch what happens in the inspector: Nothing!
If nothing happens: Project > Reload Current Project
Can confirm [Export] attribute is borked. Add this code to c# file [Export] float test;, click "Build" in the editor, exported property doesn't show up in the Inspector. v4.1.beta3.mono.official [ada712e] doesn't have this problem.
Godot version
Godot 4.1 Release Candidate 1
System information
Godot v4.1.rc1.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 31.0.15.1694) - AMD Ryzen 7 3800X 8-Core Processor (16 Threads)
Issue description
Godot 4.1 RC1 does not update the [Export]ed members or the name of a type/class in inspector when
It only works when Project > "Reload Current Project"
Steps to reproduce
Create a new .cs file that inherits from a Node or Resource
Assign it a Node/Resource
Add any sort of variables to the .cs file
Add the [Export] attribute to these variables/members
Build the Code using Alt+B
Watch what happens in the inspector: Nothing!
If nothing happens: Project > Reload Current Project
Test Project attached below
Minimal reproduction project
inspector-update-fails.zip
The text was updated successfully, but these errors were encountered: