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

Saving base script does not update exported properties in the inspector #25881

Open
neikeq opened this issue Feb 14, 2019 · 3 comments
Open

Saving base script does not update exported properties in the inspector #25881

neikeq opened this issue Feb 14, 2019 · 3 comments

Comments

@neikeq
Copy link
Contributor

neikeq commented Feb 14, 2019

Godot version:
3.1 beta 4
Tested on: 3.1 beta 4 and 3.0 stable. I cannot reproduce the issue in 3.0 stable.

OS/device including version:
Windows 10 64-bits

Issue description:

As commented in: #25866 (comment)

Saving the base script does not seem to update exported properties in the inspector.

Steps to reproduce:

Example project: TestGDScript.zip
You can see the exported properties in the root node.

Follow these steps:

  • In res://Node.gd (the base script) uncomment the line #a. This will make it fail to parse.
  • Restart the editor (maybe re-opening the scene is enough, I don't know).

At this point the properties should not be visible in the inspector. This is expected.

  • Fix the build/parse error in the base script (comment the line again).

The properties are still not showing in the inspector. In order for them to be shown again, the derived script (res://new_script.gd) needs to be saved again. Nothing is lost though, so at least it's not critical.
Not sure if this is caused by the properties fallback or not. It doesn't happen in 3.0.0.

@akien-mga
Copy link
Member

Still reproducible in the current master branch.

@akien-mga akien-mga modified the milestones: 3.2, 4.0 Jan 13, 2020
@KoBeWi
Copy link
Member

KoBeWi commented Dec 6, 2020

Still valid in 93b107a
Also only one property appears in the inspector.

@Zylann
Copy link
Contributor

Zylann commented Jul 2, 2021

Related to #23316?

@KoBeWi KoBeWi removed this from the 4.0 milestone Jun 2, 2022
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

6 participants