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
When creating an @export variable in a script before the variable's type exists, it will not be exposed in the Inspector even after the type is created. Only after restarting the application will the exported variable appear in the Inspector. Somewhat similar to #72319.
Steps to reproduce
Create a Node with script node.gd, and add the line @export var thing: Thing.
Create a new script, thing.gd, and add the line class_name Thing.
Observe that the Node with node.gd does not have thing exposed in the Inspector.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
noahpete
changed the title
Exports not Updating in Inspector When Creating New Class
Exports not updating in Inspector when creating new class
Jan 31, 2025
Tested versions
System information
Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.5132) - 12th Gen Intel(R) Core(TM) i7-12700F (20 Threads)
Issue description
When creating an
@export
variable in a script before the variable's type exists, it will not be exposed in the Inspector even after the type is created. Only after restarting the application will the exported variable appear in the Inspector. Somewhat similar to #72319.Steps to reproduce
@export var thing: Thing
.class_name Thing
.thing
exposed in the Inspector.Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: