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 second
-
Modify 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