Search Issue Tracker
Won't Fix
Votes
1
Found in
2019.4
2019.4.23f1
Issue ID
1380058
Regression
No
Build fails on Addressables.CleanBundleCache() when IL2CPP is set as scripting backend
Reproduction steps:
1. Open the attached project ("1380058.zip")
2. Make sure scripting backend is set to IL2CPP
3. Build the "SampleScene" scene
Expected result: Build succeeds
Actual result: Build fails with error:
...
il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: Assembly-CSharp.cpp
C:\Users\tmas\Downloads\1380058\Temp\StagingArea\Data\il2cppOutput\Assembly-CSharp.cpp(926): error C2664: 'SimpleCoroutineAwaiter_1_t052DDFF7345D9A5069CD7897CAC7BA63E1BB4357 *IEnumeratorAwaitExtensions_GetAwaiter_mC5B5AF30103409816F9CD22B1C55EEA6E8ABF10F(RuntimeObject *,const RuntimeMethod *)': cannot convert argument 1 from 'AsyncOperationHandle_1_t36D72943587590EDD9C8D824796BBDCAA3FD7777' to 'RuntimeObject *'
C:\Users\tmas\Downloads\1380058\Temp\StagingArea\Data\il2cppOutput\Assembly-CSharp.cpp(926): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\tmas\Downloads\1380058\Temp\StagingArea\Data\il2cppOutput\Assembly-CSharp.cpp(807): note: see declaration of 'IEnumeratorAwaitExtensions_GetAwaiter_mC5B5AF30103409816F9CD22B1C55EEA6E8ABF10F'
...
Reproducible with: Addressables 1.19.11 (2019.4.32f1)
Not reproducible with: Addressables 1.19.11 (2020.3.23f1, 2021.1.28f1, 2021.2.3f1, 2022.1.0a15)
-
bigbea
Nov 18, 2021 09:01
Friday Night Funkin' is a completely independently developed game that is being wildly successful on both PC and Android. All you need is a PC running Windows or Mac. Enjoy!
-
unity_Envg5ZF0H6CTfw
Nov 15, 2021 10:24
OMG
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2022.1.X):
This is a C# compiler bug that is corrected in the C# compiler shipped with Unity 2020 and later. We don't plan to back port the C# compiler version to 2019.4.