Search Issue Tracker

In Progress

Fixed in 6000.0.58f1, 6000.1.12f1, 6000.2.0a10

Fix In Review for 6000.3.X

Under Consideration for 6000.4.X

Votes

3

Found in

2021.3.43f1

2022.3.44f1

6000.0.16f1

6000.1.0a7

6000.2.0a1

6000.3.0a1

6000.4.0a1

Issue ID

UUM-78669

Regression

No

fatal error: 'wasm_simd128.h' file not found when building Web Player with xmmintrin.h included

-

How to reproduce:
1. Open the attached “IN-82901” project
2. Select File → Build Profiles → Build
3. Observe the result

Expected result: The build succeeds
Actual result: The build fails with a ‘wasm_simd128.h file not found’ error

Reproducible in: 2021.3.43f1, 2022.3.44f1, 6000.0.16f1

Reproducible on: Windows 11
Not reproducible on: No other environments tested

  1. Resolution Note (fix version 6000.2.0a10):

    The user still has some errors unrelated to our platform, though those should clear up if they take one of the following actions:

    1) update STB code to fix the compiler warning
    2) stop building with -Werror
    3) add the flag -Wno-c++11-narrowing.

Comments (1)

  1. wechat_os_Qy07fPDlbfoO3wR2Yt04i04WI

    Sep 06, 2024 08:57

    this problem is not obvious before Unity 6 since the older versions does not support wasm simd anyway, most of libraries does not really include this header file if SSE/SIMD macros are not defined.

    but Unity 6 supports wasm simd and enabled those macros when compiling C++ Source native plugins by default, so those working plugins in older versions would start to failing to compile in Unity 6.

    hopefully this can be resolved before Unity 6 officially released.

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.