Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Android screen resolution reduces on each LoadScene

Discussion in 'General Graphics' started by simonchin99, Feb 26, 2021.

  1. simonchin99

    simonchin99

    Joined:
    Nov 3, 2020
    Posts:
    2
    Hi

    My game has 3 scenes, title screen, instructions and the game. On a PC I can switch between the scenes all day long without a problem but on the Android build after each call of LoadScene the screen resolution gets lower. So after about 5 LoadScene calls you can see a slight difference but by the 10th LoadScene the screen resolution is down to about 100 pixels across. The screen swipe speed is reduced by the same amount.

    The screen is rendered correctly but with just a lower and lower screen resolution. There are no errors and the profiler shows no memory leaks.

    I have tried adding System.GC.Collect(); to each scene Start() but it made no difference.

    When I LoadScene should I call something else to destory the old one?

    Any help or suggestions on how to fix this would be most welcome.
     
unityunity