Search Issue Tracker

Fixed in 2018.2.X

Votes

2

Found in

2018.2.2f1

Issue ID

1067191

Regression

No

Addressables.UnloadScene method never enters a "Done" state after successful unloading

Scripting

-

Addressables.UnloadScene returns IAsyncOperation object just like the LoadScene method, but for the UnloadScene method, IAsyncOperation never reaches state "Done"
Steps to reproduce:
1. Open attached project
2. Open 'TestScene'
3. Go into play mode
4. Press "Load Scene Bad" button
-Notice "THIS NEVER PRINTS" text is never printed in the console because the script never goes past yield statement

Expected result: Addressables.UnloadScene finishes the async operation with "Done" state and script can move past yield statement
Actual result: Addressables.UnloadScene returned IAsyncOperation object never enters "Done" state

Reproduced on: 2018.2.2f1, 2018.3.0a8

Comments (2)

  1. waterbearpaul

    Sep 10, 2018 08:07

    Fixed in the new Addressables preview 0.3.5

  2. waterbearpaul

    Aug 14, 2018 12:02

    I get the same issue.
    Using SceneManager.sceneUnloaded event can be a workaround.

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.