Build throws TypeError e.toNumber is not a function at Function.System.Int64.toNumber
The error:
TypeError: e.toNumber is not a function at Function.System.Int64.toNumber
This may be due to Unity Playworks Plugin not supporting implicit casting of long int
into float
.
Possible solution:
- Apply the
Convert.ToDouble()
method explicitly, then cast the result to thefloat
type.