Search Issue Tracker

Third Party Issue

Votes

50

Found in

2022.2.0a17

2023.1.0a14

2023.2.0a1

Issue ID

UUM-5944

Regression

No

[iOS] Framerate drops below 120fps when tapping the screen in a near-empty scene on iPhone 13 Pro

--

-

How to reproduce:
1. Download and open the attached "My Project.zip" project
2. Build and deploy the project to iOS
3. Rapidly tap on screen and observe the numbers in the middle of the screen

Expected result: The FPS barely drops below 120
Actual result: The FPS spikes between 60 and 120

Reproducible with: 2019.4.40f1, 2020.3.36f1, 2021.3.4f1, 2022.1.5f1, 2022.2.17f1
Reproduced with: iPhone 13 Pro (iOS 15.0.0)
Could not reproduce with: iPhone 6S (iOS 13.3.1), iPhone 12 Pro (iOS 14.2.1)

  1. Resolution Note:

    This specific ticket is about losing a single frame upon tap. This is a known issue, but cannot be fixed by Unity.

    If you experience a different issue related to frame rate or performance, please kindly open a separate ticket.

Comments (10)

  1. IgorBoyko

    Aug 28, 2023 13:25

    Has this been escalated to Apple, if this is third-party issue? This has been an issue for quite some time and it makes 14 Pro Max models simply inferior to newer Android flagships for gaming.

  2. Cato11

    Apr 16, 2023 00:54

    I am also experiencing this issue. My frame rate halves momentarily from 60 FPS to 30 FPS whenever the screen is touched. Details below:

    Device: iPhone 14 Pro
    Unity: 2020.3.46
    iOS: 16.4.1

    Please tell me this can be resolved within 2020.3?

  3. ShaneTheVeryTall

    Mar 21, 2023 13:43

    +1 This issue is present on:
    iPhone 14 Pro Max
    Unity 2021.3.21f1
    iOS 16.3.1

    When targeting 60fps, I get stutter and framerate drops whenever I touch the screen. This is happening on both of my games. Neither one does it when deployed to Android devices.

    The solution from FEELINSIDE below does not work for me. Neither does setting #define ENABLE_DISPLAY_LINK_PAUSING to 0

  4. Feelnside

    Mar 13, 2023 00:34

    I have posted workaround on forum: https://issuetracker.unity3d.com/issues/ios-target-fps-is-ignored-on-iphone-13-pro

    We can force "targetFPS = maxFPS" in "Classes/UnityAppController+Rendering.mm" and it goes way more better.

  5. Feelnside

    Mar 12, 2023 13:45

    Also having this issue. Any time I'm touching the screen, fps drops to 30 instead of 60 (or to 60 instead of 120). Extremely terrible to see the issue is still active.

  6. dshort3266

    Feb 15, 2023 05:54

    My game has 5 ms render time and I set application.targetframerate to 120 and it actually causes the game to stutter between 60 and 120. Setting the target frame rate to 60 fixed it but its frustrating since we should be able to do 120 easily.

  7. varlamov5264

    Sep 17, 2022 18:07

    +1

  8. EazyiOS

    Aug 11, 2022 20:54

    Fix this asap, I’ve been waiting for months

  9. EthanRushbrook2

    Jul 24, 2022 18:33

    +1. This seems to be an issue with builds using URP.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.