Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exports not updating in Inspector when creating new class #102222

Open
noahpete opened this issue Jan 31, 2025 · 0 comments
Open

Exports not updating in Inspector when creating new class #102222

noahpete opened this issue Jan 31, 2025 · 0 comments

Comments

@noahpete
Copy link

noahpete commented Jan 31, 2025

Tested versions

  • Reproducible in: v4.3.stable, v4.4-beta1

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

  1. Create a Node with script node.gd, and add the line @export var thing: Thing.
  2. Create a new script, thing.gd, and add the line class_name Thing.
  3. Observe that the Node with node.gd does not have thing exposed in the Inspector.

Minimal reproduction project (MRP)

N/A

@noahpete 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants