How to reproduce:
- Open the attached “IN-147928“ Project
- Open the “SampleScene” Scene (Assets/Scenes)
- Enter Play mode
- In the Hierarchy window, double click the "Leaker" GameObject
- In the Inspector, open the Context menu of the “Leak Repro (Script)” Component (three dots) and select "Run"
- Repeat step 5 a few times
- Observe the “Before“ and “After“ used Memory amounts in the Console window
Actual result: After each “Run“, the Console shows that the used Memory “After“ the “Run“ is higher than “Before“
Expected result: Each “Run“ log in the Console shows the same used Memory in the “Before“ and “After” fields
Reproducible with: 6000.0.79f1, 6000.2.0a7, 6000.3.20f1, 6000.5.4f1, 6000.6.0b4, 6000.7.0a2
Not reproducible with: 6000.0.0f1, 6000.2.0a6
Reproducible on: Windows 11
Not reproducible on: No other environments tested