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

Package: Build Pipeline - Addressables

-

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)

  1. Resolution Note (fix version 1.19.4):

    Fixed in 1.19.4 (available for 2019.4 and up)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.