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
- [RenderGraph] Outputs from camera stack override each other when using OpenGLES3 with a custom renderer feature
- An "RefreshInternalV2 is called before InitialRefresh" error is thrown when opening a project where a build profile with Player settings added is selected
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
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