Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question iphone 12+, os 14+ low performance / slow / lag

Discussion in 'iOS and tvOS' started by mrm83, Oct 7, 2021.

  1. mrm83

    mrm83

    Joined:
    Nov 29, 2014
    Posts:
    324
    We are getting reports that our game performs poorly on iPhone 12+ , iPhone Max operating on OS 14+.

    The game appears to be running at under 30 fps?

    Is anyone else having the same issue?

    The game has targetfps set to 60. Built with 2019.4.22f1.
     
  2. mrm83

    mrm83

    Joined:
    Nov 29, 2014
    Posts:
    324
    I just tested this on my ipad 6 generation and it seems FPS is locked to 30 even when unity code has Application.targetFrameRate = 60;

    Seems like UnityGetTargetFPS(); from UnityAppController+Rendering.mm is set to 30?
    maxFPS returns 60

    I hardcode targetFPS from - (void)callbackFramerateChange:(int)targetFPS to 120 and everything is smooth..

    Can someone from Unity confirm if hardcoding targetFPS to 60 is a bad idea?