Search Unity

Camera.Render Culling taking very long on mobile (iOS and Android)

Discussion in 'Editor & General Support' started by nxtboyIII, Sep 12, 2016.

  1. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    281
    Hi,
    Culling seems to be taking quite a long time on mobile devices, I have no clue why. The game being tested is a mobile first-person shooter, and in this frame I am looking down at the ground so very little is being rendered. Here's the profiler screenshot (What is selected is not of any certain importance):


    Thanks
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    The frame takes 52.81ms, but culling takes only ~ 1 ms... why do you think culling is the issue that makes this frame so long ?
     
  3. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    281
    Culling takes 6 ms, not 1, please ignore the highlighted part
     
  4. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    281
    Another screenshot of culling obliterating performance:

     
  5. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    The newer screenshot shows an increase in some of the stats under the "Rendering" profiler, so that could be a direction to start investigating.