Search Issue Tracker
Fixed
Fixed in 1.21.14
Votes
0
Found in [Package]
1.20.0
Issue ID
ADDR-3250
Regression
No
Building addressables for il2cpp fails with unclear error when il2cpp not installed
Reproduction steps:
1. Open the user's project
2. Open the Addressables Group window
3. Choose Build > New Build > Default Build Script
Expected result: Error - "Trying to build IL2CPP player, but target IL2CPP backend is missing. Please install IL2CPP backend"
Actual result: Error - "Library\\PackageCache\\com.unity.collections@0.15.0-preview.21\\Unity.Collections\\NativeList.cs(721,24): error CS7036: There is no argument given that corresponds to the required formal parameter 'safety' of 'NativeArray<T>.ReadOnly.ReadOnly(void*, int, ref AtomicSafetyHandle)'"
Reproducible with: 2019.4.38f1, 2020.3.34f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a10
Notes:
- Only reproducible on Windows
- Only reproducible without IL2CPP installed. Installing it resolves the issue
- Behavior also applies when using BuildPipeline.BuildAssetBundles() (because both pipelines use the same internal API to trigger builds for the target platform)
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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note (fix version 1.21.14):
Fixed in: 1.21.14