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
- [Player Settings] [Common] [Rendering] - Lightmap Encoding should be changed per build profile and not globally
- [Player Settings] [Common] [Shader Variant Loading Settings] - Shader chunk count, size, override should be changed per profile and not globally
- [Player Settings] [Android] [Publishing] - Key Store Password and Key Alias Password are disabled for build profiles
- Draw call batching does not work when using identical Sprite Renderers in URP
- Selecting a GameObject in the Scene View selects a GameObject behind it instead when GPU Resident Drawer is enabled
Resolution Note (fix version 1.21.14):
Fixed in: 1.21.14