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

Help for understanding profiler and optimization

Discussion in 'Editor & General Support' started by Ailrau, Mar 24, 2018.

  1. Ailrau

    Ailrau

    Joined:
    Feb 5, 2017
    Posts:
    24
    My scene is huge 16x16km but previously im getting 30-35fps now im getting 5-12 fps and i don't understand why im not add any huge addon or anything only change some code lines and garbage collection optimization





    realtime lightning is baked and occlusion culling is baked

    What is this huge impacts? Can anyone explain this?
    I've never seen Crowd.pathfinding, im search it and find nothing.
     
  2. FabDynamic

    FabDynamic

    Joined:
    Jul 31, 2017
    Posts:
    36
    Sorry. No idea. Do you have a previous version we could look at or profile? Could you selectively disable game objects until you narrow down the culprit?
     
  3. Ailrau

    Ailrau

    Joined:
    Feb 5, 2017
    Posts:
    24
    Unfortunately, i have not older version because I had no such problems before, and I could not have guessed it could be :(
    i tryed disable parent objects one by one but just 1-2 fps increased and profiler screen is remained the same
     
  4. FabDynamic

    FabDynamic

    Joined:
    Jul 31, 2017
    Posts:
    36
    Understood. I wouldn’t have imagined this would happen either.

    Make a backup now of what you have so you can tinker and not worry about making things worse.

    Could you change garbage collection back to how it was and see if that’s the problem?

    Could you copy the scene and make the terrain very small and see if that fixes it?

    Does this problem occur when the profiler isn’t running?
     
  5. Ailrau

    Ailrau

    Joined:
    Feb 5, 2017
    Posts:
    24
    yeah this problem occur always

    my terrains is splitted 1x1 and automatically deactived when player is away

    my project is 250gb that's why whenever i tried a make backup its take 10-12 hours

    im going to control i've changed code lines and garbage collection changes

    thank's for you answers i hope one moderator could help me
     
    FabDynamic likes this.
  6. FabDynamic

    FabDynamic

    Joined:
    Jul 31, 2017
    Posts:
    36
    Since I couldn't help maybe a moderator still can help? I hope you get it working!
     
  7. Ailrau

    Ailrau

    Joined:
    Feb 5, 2017
    Posts:
    24
    I think unity is bugged im tryed delete all game objects in scene but still low fps and profiler still same how can i solve this can anyone help me? Please

    my other very small scene give me 60 fps but there i removed all objects give 24 fps
     
    FabDynamic likes this.
  8. Ailrau

    Ailrau

    Joined:
    Feb 5, 2017
    Posts:
    24
    im still waiting.. i can't find any info in web