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
Preloaded enums do not automatically update to latest version #23103
Comments
Confirmed in 99640ac. For me at least, I only need to comment out the preloading line, save, and then remove the comment and it seems to trigger the refresh. |
Still valid in 3.2.2 For me the enum didn't appear in the inspector until I added another export variable, which refreshed the inspector. Same with updating the enum values. What's weird, reloading scene doesn't help. |
Still an issue in Godot 4.0b2 |
Still an issue in v4.0.beta13.official [caacade]. |
This is still useful in 3.5, just adding a new export var (then deleting if you want to) refreshes the preloaded enum. |
Still seems to be an issue in 4.2 beta 5. |
Godot version:
b550f93
OS/device including version:
Linux
Issue description:
Consider the following situation:
Everything is fine so far; your enum will appear in the inspector, and you can assign it to
ValueA
andValueB
.However, you modify your enum later:
myEnum
can still only be assigned toValueA
orValueB
,ValueC
does not appear. To trigger it to update, you must do any of the following:Ideally, saving the enum would trigger a reload for anything referencing it.
I assumed this was the case for anything that has been preloaded, but I tried it with a custom resource, and it seemed to show the updated version.
The text was updated successfully, but these errors were encountered: