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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 1.6):
fixed in 1.6