Search Issue Tracker
Fixed
Fixed in 6000.2.0b13, 6000.3.0a4
Votes
0
Found in
6000.2.0a1
6000.2.0b10
6000.3.0a2
Issue ID
UUM-111730
Regression
Yes
[iOS][Beta] Building app fails when Metal Toolchain 26.0 is installed
Steps to reproduce:
- Create a new project
- Go to File > Build Settings and switch to the iOS Platform
- Export Xcode project
- Open Xcode and go to Xcode > Settings > Components
- Make sure that "Metal Toolchain 26.0" is installed
- Build app to the device
Actual results: Build fails with error - "Command Ld failed with a nonzero exit code
"
Expected results: Build is successful
Reproducible with versions: 6000.2.0a1, 6000.2.0b10, 6000.3.0a2
Not reproducible with versions: 6000.0.54f1, 6000.1.12f1
Can’t test with versions:
Tested on (OS): MacBook Pro, Apple M1 Max, OS: Tahoe 26.0 (beta dev 2)
Notes:
- Looks like it fails on IL2CPP build -
{code:java}
Unity.IL2CPP.Compile.CompileFailedException: Failed: at Unity.IL2CPP.Compile.CompilationDriver.Run(TinyProfiler2 tinyProfiler, Il2CppCommandLineArguments il2CppCommandLineArguments, String il2CppInvocationString, String directoryHoldingIl2Cpp, String distributionDirectory) in /Users/bokken/build/output/unity/il2cpp/Unity.IL2CPP.Compile/CompilationDriver.cs:line 62{code}
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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Resolution Note:
Workaround 1: modify script in Build Phases for GameAssembly target and set SELECT_TOOLCHAIN_SDK_AUTOMATICALLY variable to true. A bit risky if more than one Xcode is installed.
Workaround 2: modify the same script to use DT_TOOLCHAIN_DIR variable instead of TOOLCHAIN_DIR. Some older versions of Xcode reportedly don't have it though.