Search Unity

Long scene load times in Editor because of Prefab usage

Discussion in 'Prefabs' started by LesBloom, Jul 31, 2019.

  1. LesBloom

    LesBloom

    Joined:
    Feb 2, 2017
    Posts:
    66
    Hello,

    I noticed that my scene load times, within the Editor only, take significantly longer then they used to.

    I believe it all started when I began to use nested prefabs and prefab variants more.

    Profiler shows that Application.Integrate Assets In Background is taking up a vast majority of the load time.

    This does not repro in standalone builds.

    Also, to be clear, I am referring to the time it takes to load a new scene, as a result of playing the game from within the Editor. I am not referring to the time it takes to load new scene for editing.

    I have searched around this topic a few times before and found nothing. Is anyone else encountering this?

    Is there a workaround?

    This issue ends up wasting a good amount of time when I am doing quick iterations of something.

    Thank you
     
  2. LesBloom

    LesBloom

    Joined:
    Feb 2, 2017
    Posts:
    66
    Am I to assume that nobody else has encountered this type of issue?