You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't get the return value of C# methods anymore when I updated to 4.2.2.rc2. Doesn't matter if it's a preloaded script, or used with [GlobalClass]
(Using. the .call("Add", 1, 2) does work but its not ideal).
It works in 4.2.2.rc1
extendsNodeconstSomeCsharpScript=preload("res://SomeCsharpScript.cs")
varinstance: SomeCsharpScript=SomeCsharpScript.new()
func_ready() ->void:
varresult=instance.Add(1, 2) # does not work in 4.2.2.rc2.monoprint(result)
Tested versions
4.2.2.rc2.mono (Not present in 4.2.2.rc1.mono)
System information
Desktop
Issue description
I can't get the return value of C# methods anymore when I updated to 4.2.2.rc2. Doesn't matter if it's a preloaded script, or used with [GlobalClass]
(Using. the .call("Add", 1, 2) does work but its not ideal).
It works in 4.2.2.rc1
Steps to reproduce
use mrp
Minimal reproduction project (MRP)
MRP.zip
The text was updated successfully, but these errors were encountered: