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
- Constant buffers are redundantly uploaded when consecutive compute dispatches are executed on DirectX11
- UI Toolkit's TextInput element does not inherit layout parameters from the TextField element when TextField.multiline is true
- The TileMap grid in the Tile Palette is not visible when Screen Space Ambient Occlusion is enabled
- Pressing “-” twice to remove a Tag in Project Settings > Tags and Layers throws errors in the Console window
- "State comes from an incompatible keyword space" error when clicking on a shader
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.