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

Scripting

-

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

  1. Resolution Note:

    Issue has been fixed from another ticket
    Duplicate of another internal issue: UUM-29342: Native Leak Detection reports false positive leaks

  2. 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

Add comment

Log in to post comment