How to reproduce:
1. Open the attached “IN-135441_leak” project
2. Open the “OutdoorsScene” Scene
3. Navigate to Edit->Preferences->Jobs
4. Make sure Leak Detection Level is set to “Enable With Stack Trace”
5. Enter Play mode
6. Exit Play mode
7. Enter Play mode again
8. Observe the Console window
Actual result: “Leak Detected : Persistent allocates 4 individual allocations.” log message is thrown
Expected result: No log message is thrown
Reproducible with: 6000.3.0a1, 6000.3.10f1, 6000.4.0b10, 6000.5.0a7
Not reproducible with: 6000.0.68f1, 6000.2.0b2 (2bdac9ac0d74)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: In Unity version 6000.5.0a7, this log message is thrown: “Leak Detected : Persistent allocates 8 individual allocations.”