Cannot get 120fps working on my android build

My phone is the Nothing Phone (1) and it has a 120Hz refresh rate screen and is running the latest update. Trying to set Application.targetFrameRate = 120, it just doesn’t work. I made sure that vsync is off. The game is very lightweight and can easily run at 120fps but it just runs at 60. I can feel the difference between my phone switching to 120hz and back to 60 when swiping down notification panel.

Howdy,
Could you provide us with more info? What Unity version are you using? Do you have optimized frame pacing feature enabled? Are you using any rendering features like on demand rendering? What graphics pipeline are you using? Built in or URP?

From what I can tell you might be having issue with frame pacing management that comes from Google’s feature for framerate synchronization. We call it optimized frame pacing under Player settings. You could disable/enable it to see if that fixes the issue.

Furthermore if this is an issue with math you could try using Application.targetFrameRate = 121. If we don’t see exact support for framerate we use closest one going down. If there is some math which results in comparison between 120 and 119.99 that might be an issue and after filing bug report we could resolve this issue