Home Game Development unity – Random FPS drop with OpenGLES 2.0 on android, sudden white display with Vulkan

unity – Random FPS drop with OpenGLES 2.0 on android, sudden white display with Vulkan

0
unity – Random FPS drop with OpenGLES 2.0 on android, sudden white display with Vulkan

[ad_1]

I’m having an issue with my 2D sport on Android.

When I take advantage of OpenGLES 2.0 because the graphics API, I expertise sudden FPS drops within the sport. The sport begins to decelerate generally randomly, And it could possibly drop right down to 25 FPS generally (from 60). I attempted debugging it, and nothing particular was consuming CPU time or something.

it was solely GFX.Waitforpresent.

To repair this, I attempted utilizing Vulkan as the primary Graphics API, and the opposite two OpenGLES APIs subsequent. The downside of FPS drop is gone! by no means slows down once more on my gadget.

But I had two different issues.

The first is the display instantly flip all white. This is once more random! cannot reproducde it simply. But it does occur. And when this occurs sound will be heard and it is apparent the sport is working, and it is simply not rendering correctly.

The different downside is sport will not begin on an outdated gadget a good friend examined it on.

I’ve been testing this on my Huawei P10 Lite gadget with Android 8.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here