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
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)
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
waterbearpaul
Sep 10, 2018 08:07
Fixed in the new Addressables preview 0.3.5
waterbearpaul
Aug 14, 2018 12:02
I get the same issue.
Using SceneManager.sceneUnloaded event can be a workaround.