Input lag on Mac OS X builds

Hi everyone,

I’m on 2019.2.19f1.
Just before I go digging any further down the rabbit hole I’ll describe my situation - I have a very simple 2d side scroller that I’m building for release at the moment, and I’ve noticed that the mac os x native app build has much worse performance (on the same machine) than the web gl build running in a browser. My eyes are picking up maybe 20-50 ms of input lag, or perhaps the frame rate is low enough that clicks are taking some time to be rendered to the screen.

Another thing to mention - the performance is completely fine in the editor. It only becomes noticeably worse after building a standalone app.

Is this expected, or should I try to continue to diagnose the problem?

EDIT: I’ve confirmed with a couple of demo projects on different versions that this is a regression in 2019.x and doesn’t occur in 2018 LTS. I’ve filed a bug report. It’s a bit frustrating that the issue was marked as fixed here: Unity Issue Tracker - Increased input lag / delay in Standalone build when having low frames per second or VSync enabled

EDIT 2: This is still not fixed a year later in 2020.3.15f2 so potentially the person who replied saying it was fixed just lied and didn’t test it, or it’s regressed again.

as far as I can see this is still an issue… I’m using 2019.4.14f1

I opened a bug on the Unity bug tracker and received this response:

Hi,

Thanks again for reporting this issue. It’s now fixed in Unity 2020.1.0a24 and above.

I hope this solves your problem, please reach out to me if I can be of further help.

Thanks,
Mantas
Customer QA Team