Search Issue Tracker
Duplicate
Duplicate in 2023.1.X
Votes
0
Found in
2022.2.6f1
2023.1.0b3
Issue ID
UUM-27547
Regression
Yes
Incorrect memory leak detection when using UnsafeUtility.SetLeakDetectionMode() method
Reproduction steps:
1. Open the attached project “MemoryLeakBug“
2. Open the scene “Assets/Scenes/SampleScene”
3. Enter the Play Mode
4. Observe the Console Window
Expected result: There are no memory leaks detected
Actual result: Multiple memory leaks are being detected
Reproducible with: 2022.2.0a12, 2022.2.6f1, 2023.1.0b3
Not reproducible with: 2021.3.16f1, 2022.2.0a11, 2023.2.0a1, 2023.2.0a3
Couldn't test with: 2020.3.44f1 (“'UnsafeUtility' does not contain a definition for 'SetLeakDetectionMode'“)
Fixed in: 2023.2.0a1
Reproducible on: Windows 11
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
- “Handles.Repaint called outside an editor OnGUI" error is thrown in the Console when creating a new Tile Palette from the Tile Palette Overlay in Scene view
- UI Shader Graph’s Main Preview has a right-click context menu with different preview options which do not work for a UI Shader Graph and does nothing when clicked
- Shader Graph window icon is blurry and low quality when the Shader Graph is created using the Universal 2D template
- “Export HDRP Sky to Image” command error message does not indicate that Game view must be visible
- Adaptive Performance Settings Framerate field doesn't display the "supported without VSync" warning, when the field is collapsed in Build Profiles
Resolution Note:
Issue has been fixed from another ticket
Duplicate of another internal issue: UUM-29342: Native Leak Detection reports false positive leaks
Resolution Note (2023.1.X):
Issue has been fixed from another ticket
Duplicate of another internal issue: UUM-29342: Native Leak Detection reports false positive leaks