Search Issue Tracker
Fixed
Fixed in 1.18.14
Votes
5
Found in [Package]
1.17.4-preview
Issue ID
ADDR-2076
Regression
Yes
Memory doesn't get released when calling Resources.UnloadUnusedAssets
How to reproduce:
1. Open the user's attached project
2. Open Window > Analysis > Profiler
3. In the Profiler select the Memory module
4. In the Profiler window set the view to 'Detailed'
5. Enter the Play mode
6. Press the A and B buttons on your keyboard
7. Press Ctrl + A on your keyboard
8. Press Q on your keyboard
9. Click on the 'Take Sample Playmode' button in the Profiler window
10. Expand Assets > Texture2D
Expected result: The Texture2D entry contains only the 'bg2' Texture
Actual result: The Texture2D entry contains both 'bg1' and 'bg2' Textures
Reproducible with: Addressables 1.17.4-preview, 1.18.11 (2018.4.36f1, 2019.4.29f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0b3, 2022.1.0a1)
Not reproducible with: Addressables 1.17.2-preview (2020.3.14f1)
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 Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
MartinTilo
Feb 03, 2022 23:47
As noted here https://forum.unity.com/threads/addressables-possible-memory-leak-loading-scenes.1232016/#post-7858309
this bug is fixed and only an Artefact of an issue with the issue tracker that it is still shown as pending.
VoodooDetective
Jan 30, 2022 21:07
Is this still under investigation? It's been many months.