joe
joe

Reputation: 17488

Unity game lags on Android devices after enabling 64bit

Our gameplay runs 60fps on most modern Android devices, but when we enable 64bit (in order to meet Google Play's new requirement) the gameplay starts to lag and freeze periodically.


Runs 60fps smoothly on these settings:

enter image description here

Lags and freezes on these settings: enter image description here


The issue is most apparent on Huawei P20 lite (it had run at 60fps before enabling 64bit).

Does anyone have an idea of what might be the issue?

Upvotes: 2

Views: 915

Answers (1)

joe
joe

Reputation: 17488

I removed all of the Debug.Log() calls that are executed during gameplay and it fixed the issue.

I probably shouldn't have had them in there anyway, but out of curiosity... does anyone know why these would be a problem for 64bit when it was not an issue in 32bit?

Upvotes: 1

Related Questions