Search Issue Tracker
Fixed in 2021.3.17f1
Fixed in 2021.3.X, 2022.2.X, 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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Resolution Note (fix version 2022.2):
Fixed in 2022.2.2f1
Resolution Note (fix version 2021.3):
Fixed in 2021.3.17f1