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

@export values from parent class do not get updated in child class within the editor #84038

Closed
Go-Ba opened this issue Oct 27, 2023 · 1 comment

Comments

@Go-Ba
Copy link

Go-Ba commented Oct 27, 2023

Godot version

v4.1.2.stable.official [399c9dc]

System information

Godot v4.1.2.stable - Windows 10.0.19045 - Vulkan (Compatibility) - NVIDIA GeForce GTX 1060 6GB (NVIDIA; 31.0.15.3623) - AMD Ryzen 5 2600X Six-Core Processor (12 Threads)

Issue description

Parent class has a variable with @export
child inherits from that class

when a change is made to the variable i.e changing default value, changing export_range limits, or even deleting the variable all together, these changes do not get reflected in any node with a class that inherits from that parent class

image
image

Steps to reproduce

  • make a parent class
  • give it a class_name
  • make a child class which inherits from it
  • add an @export variable to the parent class
  • create a node for both the parent and child class
  • observe that they both have that variable being exported
  • modify or delete the variable from the parent class
  • it will be updated for the parent class but still display for the child class

Minimal reproduction project

Inheritance_Bug_MRP.zip

@dalexeev
Copy link
Member

@dalexeev dalexeev closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2023
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