[1.6.0] MacMini M1 2021.2.0b9-3335 Apple Sillicon Support

Hi,

After upgrading to the expected Burst with full M1 support; I’m still getting the following error

InvalidOperationException: Burst failed to compile the function pointer `Void _mono_to_burst_Hash64Long(Byte*, Byte*, Int64, Byte*, UInt64 ByRef)`
Unity.Burst.BurstCompiler.Compile (System.Object delegateObj, System.Reflection.MethodInfo methodInfo, System.Boolean isFunctionPointer, System.Object managedFallbackDelegateObj) (at Library/PackageCache/com.unity.burst@1.6.0/Runtime/BurstCompiler.cs:349)
Unity.Burst.BurstCompiler.Compile (System.Object delegateObj, System.Boolean isFunctionPointer) (at Library/PackageCache/com.unity.burst@1.6.0/Runtime/BurstCompiler.cs:235)
Unity.Burst.BurstCompiler.CompileFunctionPointer[T] (T delegateMethod) (at Library/PackageCache/com.unity.burst@1.6.0/Runtime/BurstCompiler.cs:216)
Unity.Collections.xxHash3..cctor () (at Library/PackageCache/com.unity.collections@0.15.0-preview.21/Unity.Collections/xxHash3.cs:229)
Rethrow as TypeInitializationException: The type initializer for 'Unity.Collections.xxHash3' threw an exception.
System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate (System.Delegate d) (at <76cf9df0db0d4d0ca5e0b61b6e332823>:0)
Unity.Burst.BurstCompiler.Compile (System.Object delegateObj, System.Reflection.MethodInfo methodInfo, System.Boolean isFunctionPointer, System.Object managedFallbackDelegateObj) (at Library/PackageCache/com.unity.burst@1.6.0/Runtime/BurstCompiler.cs:291)
Unity.Burst.BurstCompiler.CompileILPPMethod (System.RuntimeMethodHandle burstMethodHandle, System.RuntimeMethodHandle managedMethodHandle, System.RuntimeTypeHandle delegateTypeHandle) (at Library/PackageCache/com.unity.burst@1.6.0/Runtime/BurstCompiler.cs:168)
Unity.Collections.xxHash3+_mono_to_burst_Hash128Long_00000A46$BurstDirectCall.Constructor () (at <019a983e7ddd4b20a4e5be1edd408662>:0)
Unity.Collections.xxHash3+_mono_to_burst_Hash128Long_00000A46$BurstDirectCall..cctor () (at <019a983e7ddd4b20a4e5be1edd408662>:0)
Rethrow as TypeInitializationException: The type initializer for 'Unity.Collections._mono_to_burst_Hash128Long_00000A46$BurstDirectCall' threw an exception.

Could you submit a bug with a repro for this please?

1 Like