Search Unity

FPS Down Due to Rendering

Discussion in 'General Graphics' started by DeemBabbu, Jul 22, 2020.

  1. DeemBabbu

    DeemBabbu

    Joined:
    Jul 18, 2019
    Posts:
    26
    upload_2020-7-22_12-26-52.png


    I don't know why FPS us too much low even draw calls are fine to handle.
    I have used LOD, Instancing, and all other known tricks.
    Any Help ?
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,025
    It looks like it's doing a lot of work on the CPU. Did you try to profile it?
     
  3. DeemBabbu

    DeemBabbu

    Joined:
    Jul 18, 2019
    Posts:
    26
    Yes I have Tried that rendering is major task here
     
  4. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,025
    "Rendering is a major task here" is a very broad thing. In order to be able to help, more details are required :)
    Do you have a profiling screenshot? Did you profile the editor or the player?
     
  5. DeemBabbu

    DeemBabbu

    Joined:
    Jul 18, 2019
    Posts:
    26
  6. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,025
    Ah...
    Rendering here just shows the number of batches, SetPass calls, triangles and vertices and has nothing to do with the "why this is so heavy on the CPU".
    You need to look into the "CPU usage" section to figure out, what's happening.
    There's a lot of information on how to use the profiler :)
     
  7. DeemBabbu

    DeemBabbu

    Joined:
    Jul 18, 2019
    Posts:
    26

    Thank You That Was Due to Physics Colliders on Each Object.

    One question is how to find Gameobject within radius without using physics and iterating all present objects
     
  8. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,025
    Without iterating over all objects? Search for space partitioning, like octrees.