Cannot use modulo on long - method not whitelisted
TapGhoul
Modulo against 2 long values is not correctly whitelisted. This is borked in all cases except with 2 constants inline, in which case C# just optimizes this away before it hits U#.
Untested if other methods are also unavailable.
Sample code:
long a = 10L;
long b = 20L;
long c = a % b;
Result:
Method is not exposed to Udon: 'a % b'
SDK: Worlds 3.7.2
Unity: 2022.3.22f1
Log In