Search Unity

My game works laggy on weak devices and crashes after a few minutes on any device

Discussion in 'General Graphics' started by eldarazulay3, Apr 1, 2017.

  1. eldarazulay3

    eldarazulay3

    Joined:
    Mar 18, 2017
    Posts:
    4
    Basically my problem is performance optimization. I have heard that using PNG files for my textures can make the game laggy and take more RAM because unity has to compress the PNG textures to etc.
    Is there anything that I can do in order to make it skip the compression and take less ram?
     
  2. Flavelius

    Flavelius

    Joined:
    Jul 8, 2012
    Posts:
    945
    the best way to find out the cause is to profile it. Deep profile can tell you alot about what consumes how much cpu, the garbage generated etc. And the frame debugger can help too.
     
    theANMATOR2b likes this.
  3. eldarazulay3

    eldarazulay3

    Joined:
    Mar 18, 2017
    Posts:
    4
    how to can I do it?
     
  4. Flavelius

    Flavelius

    Joined:
    Jul 8, 2012
    Posts:
    945
  5. aquilis007

    aquilis007

    Joined:
    Aug 11, 2016
    Posts:
    6
    Any solution this problem?