- Home /
Skeleton project has low FPS on some Android phones in landscape
Problem
Low FPS on Android, in landscape mode, on an almost empty project.
Problem reproduced on
Samsung SM-A530F (A8), Android 9
Samsung SM-A750F (A7), Android 10
Problem NOT reproduced on
Lenovo Tab2 A10-70F, Android 6.0
How to reproduce
Install IDE : Unity 2019.4.12f1, SDK Android 26
Create an empty 2D project
Add a text field in the middle of the screen
Add script to text field
Modify Update()
1. Add code to display FPS on text field 2. Call that code about twice a secondModify Start(). (not mandatory - problem occurs with or w/o this code)
Application.targetFrameRate = 60; QualitySettings.vSyncCount = 0;
Compile and load to Android phone
Rotate phone to portrait
verify constant ~60FPS, almost never changes
Rotate phone to Landscape
verify ~60FPS initially
Wait 5-10 seconds
Observe FPS drop to 40-45 <== This is the problem
Answer by kobyfr · Nov 21, 2020 at 12:13 PM
workaround for developers : When activating HW & GPU acceleration in "developer options", problems goes away. Workaround for users of laggy application : None.
Your answer
Follow this Question
Related Questions
Why do I get lower framerate in Portrait than I do in Landscape? Can I fix this? 1 Answer
Android version has very low FPS, but the iOS version is fine? 0 Answers
Game runs smoothly in landscape mode but lags/stutters in portrait! 1 Answer
Low fps for Android build on Unity 2021.3.2f1 (mac silicon) 0 Answers
Android APK device.present issue 0 Answers