Search Unity

Enter Play Mode Now Taking ~30 Seconds (See profile info inside)

Discussion in 'Editor & General Support' started by jeffweber, Apr 22, 2020.

  1. jeffweber

    jeffweber

    Joined:
    Dec 17, 2009
    Posts:
    616
    Hey everyone.
    Recently, not sure exactly when, entering play mode for me started taking almost 30 seconds for a small-ish 2d Game.

    Currently I'm running Unity 2019.3.10. I've tried the experimental play mode settings but none seem to make a difference.

    This is what the profiler looks like when I enter playmode.

    Screen Shot 2020-04-22 at 5.01.31 AM.png
    Any ideas how I can speed this up? Does EditorSceneManager.BackupScenes have to run everytime? Why is it so slow?
     
  2. jeffweber

    jeffweber

    Joined:
    Dec 17, 2009
    Posts:
    616
    bumping this.. as I'm really not sure what to look at too fix it.
     
  3. joebain

    joebain

    Joined:
    Oct 24, 2014
    Posts:
    49
    I would love a solution to this, I thought unity had crashed but actually it's just taking 62 minutes to enter play mode. This is 2020.2.1
     

    Attached Files:

  4. pocketpair

    pocketpair

    Joined:
    Jul 7, 2015
    Posts:
    72
  5. april_4_short

    april_4_short

    Joined:
    Jul 19, 2021
    Posts:
    489
    Backup your project to a zip file or something like that.

    Goto Package Manager and strip out every single package you're not using. This will take some time. It's a painful process.

    Then restart Unity and reopen your project, and time the Play Mode entry.