Search Issue Tracker
Fixed
Fixed in 1.22.3, 2.3.0
Votes
0
Found in [Package]
1.22.3
2.2.2
Issue ID
ADDR-3736
Regression
No
The AssetBundle does not get unloaded when the "Addressables.UnloadSceneAsync" method is called while the "Addressables.LoadSceneAsync" method hasn't finished execution
How to reproduce:
1. Open the “addressable-scene-bundle-leak“ project
2. Open the “SceneLeakMain“ scene
3. Open the “Windows > Asset Management > Addressables > Groups“ window
4. Build a Default Build Script
5. Set the Play Mode Script to Use Existing Build
6. Enter the Play Mode
7. Connect the Profiler and add the Addressable Assets module
8. Click the space bar two times
9. Observe the Addressable Assets module in the Profiler
Expected result: The AssetBundle gets loaded and unloaded
Actual result: The AssetBundle does not get unloaded
Reproducible with: 2021.3.39f1, 2022.3.34f1, 6000.0.7f1
Reproducible on: macOS 14.5 (Intel), Windows 10 (User's)
Not reproducible on: No other environments tested
Notes:
- Reproduces both in the Play Mode and the Player
- If the scene loads faster than you can press on the space bar, adjust the variable "numSceneInstances" in the "SceneLeakRunner.cs" script
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment