Search Unity

Bug Very slow exit from play mode - 2019.3.14 and later

Discussion in 'Editor & General Support' started by zdolezal, Jun 29, 2020.

  1. zdolezal

    zdolezal

    Joined:
    Sep 27, 2017
    Posts:
    75
    It takes ages to exit the play mode after I upgraded from Unity 2019.3.13f1 where everything was working fine!

    Refresh completed in 112.781982 seconds.


    This issues is present in 2019.3.14 onward, I've tried 2019.4 as well as 2020.1 with no luck.

    Does anyone have the same issue? Do you know what I should look into that could lead to this (which assets or what it is actually doing?)

    Code (csharp):
    1. Refresh completed in 112.781982 seconds.
    2. RefreshInfo: RefreshV2(AllowForceSynchronousImport) scanfilter:
    3. RefreshProfiler: Total: 0.000ms
    4.     InvokeBeforeRefreshCallbacks: 112781.802ms
    5.     ApplyChangesToAssetFolders: 0.476ms
    6.     WriteModifiedImportersToTextMetaFiles: 0.057ms
    7.     CleanLegacyArtifacts: 0.000ms
    8.     Scan: 0.000ms
    9.     OnSourceAssetsModified: 1.798ms
    10.     UnregisterDeletedAssets: 0.000ms
    11.     InitializeImportedAssetsSnapshot: 0.000ms
    12.     GetAllGuidsForCategorization: 7.122ms
    13.     CategorizeAssets: 0.220ms
    14.     ImportAndPostprocessOutOfDateAssets: 112761.599ms (5.257ms without children)
    15.         ImportManagerImport: 2.728ms (0.000ms without children)
    16.             ImportInProcess: 0.000ms
    17.             ImportOutOfProcess: 0.000ms
    18.             UpdateCategorizedAssets: 0.000ms
    19.             RemoteAssetCacheUploadArtifacts: 0.000ms (0.000ms without children)
    20.                 RemoteAssetCacheUploadMetadata: 0.000ms
    21.             RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    22.                 RemoteAssetCacheFetchMetadata: 0.000ms
    23.                 RemoteAssetCacheMatchMetadataResults: 0.000ms
    24.                 RemoteAssetCacheDownloadFile: 0.000ms
    25.         CompileScripts: 0.000ms
    26.         PostProcessAllAssets: 0.000ms
    27.         ReloadImportedAssets: 0.000ms
    28.         VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    29.         EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.000ms
    30.         InitializingProgressBar: 0.370ms
    31.         PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms
    32.         OnDemandSchedulerStart: 0.180ms
    33.         RestoreLoadedAssetsState: 0.238ms
    34.     InvokeProjectHasChanged: 1.740ms
    35.     UpdateImportedAssetsSnapshot: 0.000ms
    36.     ReloadSourceAssets: 0.000ms
    37.     UnloadImportedAssets: 0.856ms
    38.     Hotreload: 0.141ms
    39.     FixTempGuids: 0.042ms
    40.     VerifyGuidPMRegistrations: 0.004ms
    41.     GatherAllCurrentPrimaryArtifactRevisions: 0.000ms
    42.     UnloadStreamsBegin: 0.228ms
    43.     LoadedImportedAssetsSnapshotReleaseGCHandles: 0.230ms
    44.     GetLoadedSourceAssetsSnapshot: 0.818ms
    45.     PersistCurrentRevisions: 3.074ms
    46.     UnloadStreamsEnd: 0.131ms
    47.     GenerateScriptTypeHashes: 0.025ms
    48.  
     
  2. juanelo

    juanelo

    Joined:
    Jan 28, 2011
    Posts:
    46
    Did you ever resolve this issue?