Search Issue Tracker
Fixed
Fixed in 6000.0.72f1, 6000.3.6f1, 6000.4.0b6, 6000.5.0a4
Votes
0
Found in
6000.0.63f1
6000.2.14f1
6000.3.0f1
6000.4.0a5
6000.5.0a2
Issue ID
UUM-128633
Regression
No
Memory leaks are caused when using MeshToSDFBaker.Dispose()
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Open Profiler (Window > Analysis > Profiler)
4. Enter the Play Mode
5. Click repeatedly the Button with text “Bake SDF“
6. Observe the Mesh usage under Memory Module in Profiler
Expected result: Baked Mesh is destroyed thus the usage does not change
Actual result: Mesh usage increases with each click
Reproducible with: 6000.0.63f1, 6000.2.14f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2
Reproducible on:
Play Mode
Windows Standalone Player
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- If you use the "Bake SDF (destroy via reflection)" button, the Mesh Memory usage does not increase
- Said button uses reflection to access MeshToSDFBaker.m_Mesh field and destroy it
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Huge memory allocations when TMP dynamically adds glyphs from AssetBundle fonts
- “Redefinition of 'LOD_FADE_CROSSFADE'" shader errors thrown when opening SpeedTree9_URP.shadergraph in Universal 3D Template
- NullReferenceException is thrown and the window is broken when opening the "Active Scenario" window in Multiplayer Center
- Invalid Blue value in MotionBlurMergeTilePass when objects move at certain speeds
- Physics Debugger displays mouse cursor ray casts when Game view is not open if Input System package is used
Resolution Note (fix version 6000.4.0b6):
Fixed in 6000.4.0b6
Resolution Note (fix version 6000.3.6f1):
Fixed in 6000.3.6f1
Resolution Note (fix version 6000.0.72f1):
Fixed in 6000.0.72f1