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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Resolution Note (fix version 1.21.14):
Fixed in: 1.21.14