Search Issue Tracker
Fixed in 1.6.X
Votes
0
Found in [Package]
1.1.5, 1.2.4
Issue ID
1181585
Regression
No
[Addressables] Asset reference is kept when releasing the asset with Addressables.Release
How to reproduce:
1. Open the attached project ("case_1181585-Addressables_Bug.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Click the "load mat00" button (it calls Addressables.LoadAssetAsync())
5. Click the "unload mat00" button (it calls Addressables.Release()))
6. Click the "free all" button (it calls Resources.UnloadUnusedAssets())
7. Click the "list" button (it calls Resources.FindObjectsOfTypeAll<>)
Expected results: Nothing is being printed out in the console
Actual results: "find mat00" log can be seen in the console, which shows that "Resources.UnloadUnusedAssets" failed to unload the asset because Addressables still references it
Reproducible with: 2018.4.11f1, 2019.2.9f1, 2019.3.0b6, 2020.1.0a8
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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Resolution Note (fix version 1.6):
fixed in 1.6