Addressables.LoadSceneAsync(...) throws Object reference not set to an instance of an object" error

Hi,
I’ve been using addressables for a long time for different purposes but this is the first time I saw this exception.

This exception only happens in the iOS device, no error is thrown in the editor, making it difficult to inspect more. Tested 3 different play mode options, no error is thrown.

Note: I use UniTask for the sake of simplicity but I tested without it, same results.

✓ This works fine

var levelData = await LoadAssetRef<LevelData>(levelMeta.levelDataRef, p =>
    SetPercentage(levelPercentage = p, audioPercentage, scenePercentage)
);

✓ This works fine too.

var audioClip = await LoadAssetRef<AudioClip>(levelMeta.audioRef, p =>
    SetPercentage(levelPercentage, audioPercentage = p, scenePercentage)
);

:x: This throws error (but still loads the scene):

Addressables.LoadSceneAsync(levelMeta.sceneRef)
                    .ToUniTask(Progress.Create<float>(p =>
                        SetPercentage(levelPercentage, audioPercentage, scenePercentage = p))
                    );

The error is thrown from UnityEngine internal code, so I build a development build. That’s all I could have:

Object reference not set to an instance of an object.
0   UnityFramework                      0x0000000112a141ac _Z13GetStacktracei + 96
1   UnityFramework                      0x0000000112f714d4 _Z17DebugStringToFileRK21DebugStringToFileData + 384
2   UnityFramework                      0x0000000112545a48 _ZN15DebugLogHandler12Internal_LogE7LogType9LogOptionN4core12basic_stringIcNS2_20StringStorageDefaultIcEEEEP6Object + 168
3   UnityFramework                      0x0000000112545934 _Z35DebugLogHandler_CUSTOM_Internal_Log7LogType9LogOptionP37ScriptingBackendNativeStringPtrOpaqueP37ScriptingBackendNativeObjectPtrOpaque + 244
4   UnityFramework                      0x0000000113985900 _ZN6il2cpp2vm7Runtime15InvokeWithThrowEPK10MethodInfoPvPS5_ + 100
5   UnityFramework                      0x0000000113985848 _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException + 84
6   UnityFramework                      0x000000011290b980 _Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb + 124
7   UnityFramework                      0x000000011291c394 _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 140
8   UnityFramework                      0x000000011292e6b4 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtrP21ScriptingExceptionPtr + 2108
9   UnityFramework                      0x000000011292e82c _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtr + 80
10  UnityFramework                      0x000000011292f084 _ZN13MonoBehaviour16DelayedStartCallEP6ObjectPv + 56
11  UnityFramework                      0x000000011269d128 _ZN18DelayedCallManager6UpdateEi + 556
12  UnityFramework                      0x0000000112781d48 _ZZ23InitPlayerLoopCallbacksvEN50EarlyUpdateScriptRunDelayedStartupFrameRegistrator7ForwardEv + 84
13  UnityFramework                      0x0000000112772f00 _Z17ExecutePlayerLoopP22NativePlayerLoopSystem + 140
14  UnityFramework                      0x0000000112772f40 _Z17ExecutePlayerLoopP22NativePlayerLoopSystem + 204
15  UnityFramework                      0x00000001127732a4 _Z10PlayerLoopv + 324
16  UnityFramework                      0x0000000112fff3b0 _ZL19UnityPlayerLoopImplb + 116
17  UnityFramework                      0x0000000111bc3c3c UnityRepaint + 40
18  QuartzCore                          0x00000001b5b29010 5C3EE3D9-1AAA-3052-A6C7-B957B454AD71 + 192528
19  QuartzCore                          0x00000001b5b2c1f8 5C3EE3D9-1AAA-3052-A6C7-B957B454AD71 + 205304
20  QuartzCore                          0x00000001b5b2bd04 5C3EE3D9-1AAA-3052-A6C7-B957B454AD71 + 204036
21  QuartzCore                          0x00000001b5baafa8 5C3EE3D9-1AAA-3052-A6C7-B957B454AD71 + 724904
22  UIKitCore                           0x00000001b67c5a4c 2D538446-6E40-3C10-8A5F-559C938077A0 + 698956
23  UIKitCore                           0x00000001b67c513c 2D538446-6E40-3C10-8A5F-559C938077A0 + 696636
24  UIKitCore                           0x00000001b67c51f8 2D538446-6E40-3C10-8A5F-559C938077A0 + 696824
25  CoreFoundation                      0x00000001b45250ac 5A6C1F41-BF70-32F6-A1D6-5B894DD21362 + 225452
26  CoreFoundation                      0x00000001b4524328 5A6C1F41-BF70-32F6-A1D6-5B894DD21362 + 221992
27  CoreFoundation                      0x00000001b4522adc 5A6C1F41-BF70-32F6-A1D6-5B894DD21362 + 215772
28  CoreFoundation                      0x00000001b4521818 5A6C1F41-BF70-32F6-A1D6-5B894DD21362 + 210968
29  CoreFoundation                      0x00000001b45213f8 CFRunLoopRunSpecific + 608
30  GraphicsServices                    0x00000001f7ad74f8 GSEventRunModal + 164
31  UIKitCore                           0x00000001b69478a0 2D538446-6E40-3C10-8A5F-559C938077A0 + 2279584
32  UIKitCore                           0x00000001b6946edc UIApplicationMain + 340
33  UnityFramework                      0x0000000111bc3870 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 92
34  BeatBounce                          0x000000010235412c main + 60
35  dyld                                0x00000001d728adcc 28D6D2C1-46CE-3D58-B744-B06A6C573888 + 24012

Unity: 2022.3.22f1
Addressables: 1.21.20

Anyone encounters this error?
My analytics is filled with all this error.
All I do is simply call:

Addressables.LoadSceneAsync(levelMeta.sceneRef)