Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.4
2018.4
2019.2
2019.2.8f1
2019.3
2020.1
Issue ID
1198576
Regression
No
Modifying prefab loaded from AssetBundle prevents unloaded assets being freed (Editor)
How to reproduce:
1. Open tester-attached project (AssetBundleRepro), SampleScene
2. Enter Play Mode
3. Open the Profiler window and select the Memory module in Simple mode
4. Note the Textures/Meshes/Materials count/memory
5. Select the 'GameObject' in the Hierarchy window and in the Inspector window click 'Instantiate'
6. Note the increased Textures/Meshes/Materials count/memory
7. In the Inspector window click 'Clear' and 'UnloadUnusedAssets'
8. Note the Textures/Meshes/Materials count/memory
9. In the Inspector window click 'Unload Asset Bundle' and then 'UnloadUnusedAssets'
10. Note the Textures/Meshes/Materials count/memory
Expected result: the first call(step 7) to 'UnloadUnusedAssets' frees up memory
Actual result: only the second call(step 9) to 'UnloadUnusedAssets' frees up memory
Reproducible with: 2017.4.34f1, 2018.4.13f1, 2019.2.13f1, 2019.3.0b12, 2020.1.0a14
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment