godot
godot copied to clipboard
Internal Script Error! Opcode: 38 when setting variable type to Marshalls and setting the value to Marshalls
Godot version
3.5.stable.official [991bb6ac7]
System information
Arch Linux || 5.18.16-arch1-1
Issue description
"Internal Script Error! Opcode: 38" when setting a variable type to Marshalls and then setting the value to Marshalls
Steps to reproduce
- Create a new script
- Type
var variable : Marshalls = Marshalls - Run
Minimal reproduction project
Related to https://github.com/godotengine/godot/issues/60951.
Marshalls is a singleton, so it's not meant to be assigned to a variable like this.