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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Add comment