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
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
Resolution Note (fix version 1.21.14):
Fixed in: 1.21.14