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
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
- Building the project for Web with ASTC Texture Compression results in black screen
- “ArgumentException: Object reference not set to an instance of an object” errors are thrown when adding the component with Entity as Key for HashMap
- Visual Effect Model overlays tooltip is left in Scene when unfocusing VFX Node and the overlay dropdown menu is opened
- Unity crashes during the scene template selection in the "Inspector" tab
Resolution Note (fix version 1.21.14):
Fixed in: 1.21.14