Godot version
4.0.stable.mono
System information
Fedora Linux 37
Issue description
In foo.gd there is a property var arr: Array[int]. Trying to set it from a C# script using
foo.Set("arr", Godot.Collections.Array<int>{ 0, 1, 2 });
doesn't work, the array stays empty. Making it untyped (var arr: Array) fixes the problem, so there is something with static types.
Steps to reproduce
- Create a typed array property in a GDScript
- Try to set it from a C# script
Minimal reproduction project
N/A
Godot version
4.0.stable.mono
System information
Fedora Linux 37
Issue description
In
foo.gdthere is a propertyvar arr: Array[int]. Trying to set it from a C# script usingdoesn't work, the array stays empty. Making it untyped (
var arr: Array) fixes the problem, so there is something with static types.Steps to reproduce
Minimal reproduction project
N/A