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

Unity 2018.3 Android FPS loss (probably due to SpriteRenderer)

Discussion in 'Editor & General Support' started by Plundergamesdev, Dec 18, 2018.

  1. Plundergamesdev

    Plundergamesdev

    Joined:
    Mar 5, 2015
    Posts:
    4
    Hello,
    I updated my Unity Version from 2018.2 to 2018.3 lately and noticed that my framerate dropped about 30% on android (~30 fps to ~20fps). For the exact same position in my game I get different framerates with Unity 2018.2 and 2018.3.

    I used the profiler for Android for both Unity versions and the result was the following (left 2018.2 and on the right 2018.3): UnityFPSLoss.png

    As it seems the problem lies in the BatchRenderer.Flush or the SpriteRenderer.RenderMultiple.

    I have a tiled based isometric game which has a big Render Order through heavy usage of SpriteRenderer.sortingOrder. When I comment out the SpriteRenderer.sortingOrder assignments the difference between 2018.2 and 2018.3 framerates becomes a lot smaller (then it's only 5-10% difference).

    So why takes the Renderer longer for me in the 2018.3 version? Does anyone know what there was changed or has a similar problem?