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
- NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
- [Linux] Player crash on Shader::SRPBatcherInfoSetup when opening player build
- [Android] FPS does not match the targeted FPS when it is set with Application.targetFrameRate
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
Add comment