godot icon indicating copy to clipboard operation
godot copied to clipboard

Internal Script Error! Opcode: 38 when setting variable type to Marshalls and setting the value to Marshalls

Open The-Glit-ch opened this issue 3 years ago • 1 comments

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

  1. Create a new script
  2. Type var variable : Marshalls = Marshalls
  3. Run

Minimal reproduction project

Archive.zip

The-Glit-ch avatar Aug 07 '22 01:08 The-Glit-ch

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.

Calinou avatar Aug 07 '22 07:08 Calinou