Search Issue Tracker

By Design

Votes

0

Found in [Package]

Issue ID

1347251

Regression

No

Mac player failed to build with error The instruction `Unity.Burst.Intrinsics.X86.Sse2.cmpeq_epi32 requires CPU feature `SSE2`

Package: Burst

-

This issue is Mac only. Windows is fine.

Steps:
1. Clone DOTS monorepo
2. Open Projects/HybridURPSamples
3. On ProjectView, select HybridURPSamplesBuildSettings
4. Set platform to macOS, click Apply, click Build and Run
5. Build failed with a lot of errors:

The instruction `Unity.Burst.Intrinsics.X86.Sse2.cmpeq_epi32(Unity.Burst.Intrinsics.v128 a, Unity.Burst.Intrinsics.v128 b)` requires CPU feature `SSE2` but the current block only supports `None` and the target CPU for this method is `ARM_AARCH64_ADVSIMD_AndLower`. Consider enclosing the usage of this instruction with an if test for the appropriate `IsXXXSupported` property.

The instruction `Unity.Burst.Intrinsics.X86.Sse.set1_ps(float a)` requires CPU feature `SSE` but the current block only supports `None` and the target CPU for this method is `ARM_AARCH64_ADVSIMD_AndLower`. Consider enclosing the usage of this instruction with an if test for the appropriate `IsXXXSupported` property.

I used the same dots editor for following reproductions:
Version: 2020.3.13f1-dots.629.2020.3/partner/staging.337
Revision: 2020.3/partner/staging 09872a4732ff
Built: Wed, 16 Jun 2021 07:14:06 GMT

Reproducible:
dots master Jul1 10:03 a85f208db4798b02053158e07c1601e53b4dcaaa
dots master May18 18:38 2a5c78db0152577c9f936a45b956e3d056491a2e
dots master Apr28 14:17 4f1fbec03b29b1df8112bc716a0243274b6c47a1
dots master Apr18 07:47 3b66b0e12bcf51f8fe3713f3d60b1746bad0abc5

Not-reproducible:
dots master Apr17 20:30 96f54b95a7ff9646c80d6244a74d08eb387c43ff
dots master Apr16 16:10 a76aeebdb9214eac20cdf701a127fcd0fc9a3e53

  1. Resolution Note:

    New Occlusion Culling is not supported on ARM yet. So make sure BuildSettings > Architecture is set to "Intel 64-bit" only.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.