Search Issue Tracker
Fixed
Fixed in 1.19.4
Votes
0
Found in [Package]
1.18.11
Issue ID
ADDR-2092
Regression
Yes
NullReferenceException is thrown when calling Addressables.LoadSceneAsync method with no internet connection
Reproduction steps:
1. Open the attached project ("MultiProject_Main.zip")
2. Make an Android build: File > Build Settings > Build And Run
3. Monitor the Android device logs using ADB LogCat
4. Press the “Load remote catalog” button
5. Disconnect the internet of the Android device
6. In the “Load Scene” field, type “Scenes/CubesScene.unity” and press the "Submit" button.
Expected result: Addressables.LoadSceneAsync should complete with failure status
Actual result: Addressables.LoadSceneAsync never completes, errors are thrown:
- "NullReferenceException: Object reference not set to an instance of an object"
- "UnityWebRequest result : ConnectionError"
- "OperationException : GroupOperation failed because one of its dependencies failed"
Reproducible with: 1.18.11, 1.18.13 (2019.4.28f1, 2020.3.14f1, 2021.1.15f1, 2021.2.0b4, 2022.1.0a3)
Can't test with: 1.16.19 (2018.4.36f1) (Mutliple Exceptions thrown after downgrading), 1.16.19 (2020.3.14f1) ("RemoteProviderException" namespace errors thrown)
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
- Crash on Umbra::QueryExt::queryStaticShadowCasters when opening a specific project
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when opening a specific project
- Shader variants are recompiled while Building when the Platform is switched and changed back after the first Build
- Crash on memcpy when importing lightmaps after GI bake
- NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
Resolution Note (fix version 1.19.4):
Fixed in 1.19.4 (available for 2019.4 and up)