Search Issue Tracker
Active
Votes
0
Found in
5.1.3f1
2019.4
2020.3
2021.3
2022.1
2022.2
Issue ID
739676
Regression
No
Mesh isn't cleared from Memory when calling SkinnedMeshRenderer.BakeMesh() and destroying all GameObjects referencing that Mesh
How to reproduce:
1. Open the attached project "meshRepro"
2. Open the scene "SampleScene" and enter Play mode (Assets/Scenes/SampleScene.unity)
3. Open the Profiler window and select the Memory Profiler module (Window > Analysis > Profiler)
4. In the Module details pane, inspect the value of "Meshes"
5. In the Hierarchy window, delete the GameObject "Tester"
6. In the Profiler Module details pane, inspect the value of "Meshes" again
Expected result: The value of "Meshes" decreases
Actual result: The value of "Meshes" stays the same
Reproducible with: 2019.4.38f1, 2020.3.33f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Add comment