Search Issue Tracker
By Design
Votes
0
Found in
2020.2
2020.2.0a12
2020.2.4f1
2021.1
2021.2
Issue ID
1317050
Regression
Yes
[IL2CPP] UnityLinker error when building
Reproduction steps:
1. Open attached project "LinkErrorRepo.zip"
2. Build and Run
3. Observe Console window
Expected result: Builds completes without errors
Actual result: Build fails with "Exception: Failed running D:\Unity Versions\Installs\2020.2\2020.2.6f1_0015daafb73f\Editor\Data\il2cpp\build/deploy/netcoreapp3.1/UnityLinker.exe <...>"
Reproducible with: 2020.2.0a12, 2020.2.6f1, 2021.1.0b8, 2021.2.0a6
Not reproducible with: 2020.1.17f1, 2020.2.0a11
Could not test with: 2019.4.21f1 (compilation errors due to custom Collections package)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2021.2.X):
This problem occurred because an assembly had a different name from the .dll file where is lives. Renaming the .dll file to have the same name as the assembly corrects the issue.