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
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
- The Canvas component's warning box is missing an apostrophe when Additional Shader Channels is set to "Normal" and "Tangent" with Render Mode set to "Screen Space - Overlay"
Resolution Note (fix version 1.19.4):
Fixed in 1.19.4 (available for 2019.4 and up)