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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.