Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Long wait Loading.LockPersistentManager when loading scene

Discussion in 'Editor & General Support' started by dgoyette, Oct 18, 2019.

  1. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,120
    I was profiling my scene load, and there's a non-trivial amount of time spent on a single call to Loading.LockPersistentManager:

    upload_2019-10-17_18-44-6.png

    Does anyone have more information on this? I read a post that made is seem like this was an avoidable thing if I do my scene loading correctly, but so far I can't get rid of this significant delay. My scene load approach is to LoadScene my simple "loading" scene, then LoadSceneAsync the real scene. Anyone else getting hit by this delay in their loading? Is it just part of the loading process?
     
  2. KAJed

    KAJed

    Joined:
    Mar 15, 2013
    Posts:
    122
    I'm having the same problem. 2019.3.13f1.
     
  3. peeka

    peeka

    Joined:
    Dec 3, 2014
    Posts:
    113
    I am having the same problem 2019.4.11f
     
    KAJed likes this.
  4. marcrem

    marcrem

    Joined:
    Oct 13, 2016
    Posts:
    336
  5. Peecha

    Peecha

    Joined:
    Dec 2, 2013
    Posts:
    22
    Bump. Voted!
     
  6. NotSteffen

    NotSteffen

    Joined:
    Jan 5, 2021
    Posts:
    4
    I just experienced this issue on 2020.3.26f1. The annoying part is, I can't figure out how to isolate it. It doesn't seem to be one specific scene or object being loaded. Does anyone have any info on this? The issue was marked as resolved on 2020.2, but it clearly is not.
     
  7. hehui568350701

    hehui568350701

    Joined:
    May 17, 2023
    Posts:
    5
    I am having the same problem 2021.3.0f1c1