Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

My project is becoming very difficult!

Discussion in 'Editor & General Support' started by Reid_Taylor, May 28, 2021.

  1. Reid_Taylor

    Reid_Taylor

    Joined:
    Oct 9, 2019
    Posts:
    57
    I'm working on a fairly large scale mobile multiplayer game right now and I'm coming across lots of headache... The editor only runs at like 25fps and if I expand game view it's like 15fps (runs on old phone 60fps). Also the Unity Editor is crashing a TON... Any help? I'm using 2020.3.2f1
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,520
    For performance issues it is best to start with the profiler. Window -> Analysis -> Profiler.
     
  3. Reid_Taylor

    Reid_Taylor

    Joined:
    Oct 9, 2019
    Posts:
    57
    Does the profiler profile Editor too?
     
  4. alexeyzakharov

    alexeyzakharov

    Joined:
    Jul 2, 2014
    Posts:
    507
    Yes, you can change profiler target to Editor to see more details about Unity Editor activities (https://docs.unity3d.com/Manual/profiler-profiling-applications.html).\

    When profiling Play Mode you can notice EditorLoop sample which might take significant portion of time - that denotes "editor activity" where we disable profiling to reduce overhead on main and render threads. Profiling Editor target enables profiling in those regions and can show more details.