Search Issue Tracker

Fixed

Votes

0

Found in

6000.1.0b5

6000.2.0a2

Issue ID

UUM-96297

Regression

Yes

Leak Detected: 'Persistent allocates 2 allocations' log on new project creation

-

*Steps to reproduce:*
#  Create and open a new project using (HDRP, URP, XR)
# Enter Play mode
# Observe the Console Window

\\
*Actual results:* "Leak Detected: Persistent allocates 2 individual allocations. To find out more please enable 'Preferences > Jobs > Leak Detection Level > Enabled With Stack Trace' and reproduce the leak again"

*Expected results:* There is no Leak detected log in the Console (i.e The Console is blank)

\\
*Reproducible with versions:* 6000.1.0b5, 6000.2.0a2

*Not reproducible with versions:* 2022.3.57f1, 6000.0.37f1, 6000.1.0b4

\\
*Tested on (OS):* Ubuntu 22, Windows 11

\\
*Notes:*
* Leak detects on all domain reloads;
* Not reproducible with 2D/3D built-in

Stack trace gotten from Win 11:
{code:java}
0x00007ff9cce486de (Unity) StackWalker::ShowCallstack
0x00007ff9cce58479 (Unity) PlatformStacktrace::GetStacktrace
0x00007ff9ce0c363e (Unity) Stacktrace::GetStacktrace
0x00007ff9ce6671ff (Unity) DebugStringToFile
0x00007ff9cc5da3f1 (Unity) LeakDetection::CheckForLeaks
0x00007ff9cc001f07 (Unity) CallbackArray::Invoke
0x00007ff9ccd138c3 (Unity) UnloadDomain
0x00007ff9ccd383b3 (Unity) MonoManager::CreateAndSetChildDomain
0x00007ff9ccd370d4 (Unity) MonoManager::BeginReloadAssembly
0x00007ff9ccd408cc (Unity) MonoManager::ReloadAssembly
0x00007ff9cdf7206c (Unity) Internal_ADB_Only_ReloadAllUsedAssemblies
0x00007ff9ce29ee32 (Unity) DomainReloadIfAllowed
0x00007ff9ce2b6ec3 (Unity) RefreshInternalV2
0x00007ff9ce2c0eb1 (Unity) StopAssetImportingV2Internal
0x00007ff9cdf376b7 (Unity) EditorSceneManager::RestoreSceneBackups
0x00007ff9cdadf3b4 (Unity) PlayerLoopController::EnterPlayMode
0x00007ff9cdae1123 (Unity) PlayerLoopController::SetIsPlaying
0x00007ff9cdadc3e8 (Unity) Application::TickTimer
0x00007ff9ce0c8a9b (Unity) MainMessageLoop
0x00007ff9ce0cfa0a (Unity) UnityMain
0x00007ff7d3d02f2a (Unity) __scrt_common_main_seh
0x00007ffac9ad259d (KERNEL32) BaseThreadInitThunk
0x00007ffacb82af38 (ntdll) RtlUserThreadStar
{code}

  1. Resolution Note:

    Fixed by another internal issue: UUM-95802: Leak detected when entering playmode in all empty core templates

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.