Search Issue Tracker
Duplicate
Duplicate in 2023.1.X
Votes
0
Found in
2021.3.16f1
2022.1.24f1
2022.2.1f1
2023.1.0a15
Issue ID
UUM-24795
Regression
No
Incorrect memory leak detection when using UnsafeUtility.CheckForLeaks() method
Reproduction steps:
1. Open the attached project “MemoryLeakBug“
2. Press “Testing>Test Leak Detection”
3. Observe the Console window
Expected result: There are no memory leaks detected
Actual result: Random count of memory leaks are detected
Reproducible with: 2021.3.16f1, 2022.1.24f1, 2022.2.1f1, 2023.1.0b7
Not reproducible with: 2023.2.0a1, 2023.2.0a5
Couldn't test with: 2020.3.43f1 ('UnsafeUtility' does not contain a definition for 'CheckForLeaks')
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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