Search Issue Tracker
Fixed in 2019.3.X
Votes
0
Found in
2019.1.0a5
2019.1.5f1
2019.2.0a1
2019.3.0a1
Issue ID
1160054
Regression
Yes
When using the Button component, Texture2D can't be unloaded after switching the Scene and/or using Resources.UnloadUnusedAssets
How to reproduce:
1. Open the user's project
2. Open the scene "TestA"
~it has a script which loads "TestB" scene when pressing Space~
3. Play
4. Open the Memory Profiler, Detailed, Take Sample Editor
5. Inspect Assets > Texture2D, it clearly has some sprites
6. Return to Game Window and press Space (it loads SceneB)
7. Take Sample Editor again
8. Inspect Assets > Texture2D, also has sprites, even though there are none in the scene
Expected result: Assets can be unloaded after switching the scene and Resources.UnloadUnusedAssets();
Actual result: Texture2D assets cannot be unloaded
Reproducible with - 2019.1.0a5, 2019.1.6f1, 2019.2.0b5, 2019.3.0a5
Not reproducible with - 2017.4.28f1, 2018.4.2f1, 2019.1.0a4 (some assets can be unloaded)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
Add comment