Search Unity

Simple Mobile Game Lagging

Discussion in 'Unity Cloud Diagnostics' started by spinifer_x, Mar 4, 2018.

  1. spinifer_x

    spinifer_x

    Joined:
    Dec 6, 2016
    Posts:
    32
    Hello there,
    I made a simple game for mobile where a cube moves on a ground endlessly and obstacles(cubes) are coming from opposite direction . For generating ground and obstacle cubes I am using object pooling .
    I have used all optimization that I knew but still I am getting very low fps on mobile and game is not playable on mobile. I have given the screenshot of profiler ,Camera and light setting.Please suggest some tips .
     

    Attached Files:

  2. Doug_B

    Doug_B

    Joined:
    Jun 4, 2017
    Posts:
    1,596
    Hi spinifer_x,

    Your screen shots show a scene with 262 vertices and 190 triangles. The profiling appears to show that the slowest frame-rate achieved was 60fps at a resolution of 800x480. None of this seems particularly problematic.
    1. What fps are you expecting and what is the slowest that you are experiencing?
    2. Are you seeing the problem only on the device, only in the editor or in both?
    3. In play mode, you could try deactivating GameObjects in turn to see if the frame-rate improves to find the source of the problem that way.