Open afk-mario opened 2 years ago
I'm running into this issue with an enum from one of my autoload scripts. The strange thing was that it was working perfectly for months and just stopped today. The last thing that I did before it stopped working was add a node to a completely different autoload scene.
Godot version
v3.4.4.stable.arch_linux
System information
Arch Linux x86_64 5.15.37-1-lts
Issue description
When trying to use the enum
TransitionType
from theTween
like this:I get the following error:
invalid index 'TransitionType' in constant expression
For now I'm defining the enum on the script itself to get the dropdown in the editor but is not ideal
Related bug https://github.com/godotengine/godot/issues/19704
Steps to reproduce
Create a new gdscript and export a variable using a enum from the
Tween
classMinimal reproduction project
export-from-tween-class.zip