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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
Resolution Note (fix version 1.19.4):
Fixed in 1.19.4 (available for 2019.4 and up)