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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Resolution Note (fix version 1.19.4):
Fixed in 1.19.4 (available for 2019.4 and up)