Search Issue Tracker
Fixed in 2017.2.0f3
Votes
2
Found in
5.5.0b7
Issue ID
840983
Regression
No
SceneManager.UnloadSceneAsync does not unload EventManager and AudioListener
Reproduction steps:
1. Open the "bug.zip" project
2. Open the "SceneA" scene
3. Play the scene
4. Press the "Change scene" button
-Notice warning in the console about multiple event systems
-Notice that the "Not working Button" button is not working, because of multiple EventManagers
Actual result: EventManager and AudioLisener do not get unloaded
Expected result: EventManager and AudioLisener get unloaded
Reproduced on: 5.5b7, 5.5b6 , 5.5b1
Method is not available in 5.4, 5.3, 5.2
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
paulomuggler
Jul 18, 2017 22:37
so, 9 months later... Can we expect this one to work anytime soon? Should we go back to using LoadScene()? I'm genuinely confused.
Gwom
Nov 29, 2016 10:36
I have just had this issue too, I changes as UnloadScene is being deprecated so tried UnloadSceneAsync, and got hit with multiple EventManager and AudioListener issues. Either the deprication needs to be revoked or UnloadSceneAsync needs to handle this - until then, I will have to chance it with UnloadScene (and hope the build works ;)