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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment