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
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
- [sw-unity-6-1] Scene view renders any light differently when more than one camera exists and neither have the "MainCamera" tag
Add comment