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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note (fix version 2022.2.2f1):
Fixed in 2022.2.2f1
Resolution Note (fix version 2021.3.17f1):
Fixed in 2021.3.17f1