Search Issue Tracker
Fixed
Fixed in 2021.3.17f1, 2022.2.2f1
Votes
0
Found in
2021.3.16f1
2022.2.1f1
Issue ID
UUM-21072
Regression
Yes
[macOS] EXC_BAD_INSTRUCTION error is thrown when running Unity build using Xcode
How to reproduce:
1. Build a new Unity project with “Create Xcode Project” setting toggled
2. Open the created “xcodeproj” file in the Xcode application
3. Start the active scheme by clicking the triangle-form button
Expected result: The project is successfully built and run
Actual result: Building is failed with EXC_BAD_INSTRUCTION error thrown
Reproducible with: 2021.2.0a14, 2021.3.16f1, 2022.2.1f1, 2023.1.0a19
Not reproducible with: 2020.3.42f1, 2021.2.0a13, 2023.1.0a20, 2023.1.0a23
Reproduced on: macOS 13.0 (Intel)
Thrown error on ud2 instruction:
Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
Note:
- On some versions, the button for active scheme start
is unclickable or project is built without error, but doesn’t run.
Versions that are having these problems are considered as Reproducible.
- Xcode version is 14.1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2022.2.2f1):
Fixed in 2022.2.2f1
Resolution Note (fix version 2021.3.17f1):
Fixed in 2021.3.17f1