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. Dismiss Notice

Lag in Main Scene

Discussion in 'Editor & General Support' started by Mighto360, Dec 13, 2016.

  1. Mighto360

    Mighto360

    Joined:
    Sep 15, 2016
    Posts:
    69
    I have a problem that's driving me crazy! My main scene is super laggy. It happens when I press play to start it, when I press play to stop it, or when I open the scene (File---Open Scene). Whenever I do one of these things, it lags for about a minute. I hate it! I can't figure out what's happening. I'm on a mac by the way. Please help!
     
  2. tsibiski

    tsibiski

    Joined:
    Jul 11, 2016
    Posts:
    562
    First thing that comes to mind... how many objects do you have in the scene?

    Its really hard to guess without your actual files. I promise, no one will try to steal your content. And posting it is proof of your content. So if you post it, it will help to solve the issue.
     
  3. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Use the Profiler to figure out what eating your performance (you can enable editor profiling too if you have Performance issues while not playing)
     
  4. Mighto360

    Mighto360

    Joined:
    Sep 15, 2016
    Posts:
    69
    I tried the profiler. However, when it lags, the profiler freezes too. I'm not sure whats wrong, as I'm running a very fast Mac Pro Desktop Computer.
     
  5. Mighto360

    Mighto360

    Joined:
    Sep 15, 2016
    Posts:
    69
    Whenever I do one of the things listed in my question, I get the spinny wheel of death and unity freezes for a while.
     
  6. Mighto360

    Mighto360

    Joined:
    Sep 15, 2016
    Posts:
    69
    I think I figured out the problem. I have too many assets in my Assets folder. What should I do about that?