That call is getting the first parameter right, but the rest of the Variants in the args array come with weird values. For example, calling with 3 ints i do:
Edit: It should be noted that the expected result should be 2 2 2 seems like the args array is only getting initialized on the first value, i've been trying to debug this but can't find where's my method getting called to change it on godot's or godot-go's code.
Currently i'm implementing a library in Go which needs to get multiple parameters on a method call:
https://github.com/chiguireitor/godot-gobtcsuite/blob/154bc8fec32c87dc9a8c8f7dba0a67c3850f5605/src/gobtcsuite.go#L280
That call is getting the first parameter right, but the rest of the Variants in the args array come with weird values. For example, calling with 3 ints i do:
and get
as result
Edit: It should be noted that the expected result should be
2 2 2
seems like the args array is only getting initialized on the first value, i've been trying to debug this but can't find where's my method getting called to change it on godot's or godot-go's code.