Skip to content

Internal Script Error! - opcode #13 (report please). when specifying variable type #130

@opyate

Description

@opyate

Goost and Godot version:

Godot_v3.3.2-stable.goost_v1.0-stable_osx.universal

Issue description:

I'm typing var pb below with PolyBoolean2D, which causes an error. If I remove the type, all is fine. Am I doing something wrongly?

extends Node2D

# this works
var pb

# this causes the error
# var pb: PolyBoolean2D

# Godot built-in types work:
var t: Tween

func _ready():
	pb = PolyBoolean2D.new_instance()
	pb.parameters.strictly_simple = true
	t = Tween.new()

Running this with the offending line uncommented triggers the debugger on line 1.

Further output:

Screenshot 2021-09-20 at 21 04 37

Further errors:

Screenshot 2021-09-20 at 21 05 24

Steps to reproduce:

On Mac, have a simple node, with the above content in a script, then run.

Is this issue reproducible in official Godot builds?

No, as it uses the Goost API, and won't be available.

Minimal reproduction project:

godot-goost-bugreport.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions