Cardboard game needs an arbitrary number of restarts before it starts working

Tigro
Sat, 13 Jun 2020 21:09:33 +0000
Mobile

So I made a simple endless runner for mobile VR some time ago and it worked on all the phones I tested on (Huawei P20, Xiaomi Redmi Note 5 Plus, Nokia 3.1) but it manifests weird behaviour on Huawei P30 Lite - namely, when you tap the icon, it tries to start, shows a weird distorted empty screen (as if it wanted to squeeze the horizontal view into the vertical mode the phone is in) and then crashes back to desktop. No matter the settings for auto-rotation of the device, the rotation of it when starting the game or whether you run it directly or through the Cardboard app. Here’s what it looks like: Launch fail - YouTube

As you can see, it crashes each time but after you do it enough times, it will eventually start up properly. Sometimes it needs two tries, sometimes 10, sometimes 20. What may be causing this weird behaviour and crashing? None of these issues happen on the other phones I’ve tested but it has to be a thing cause I also have some crash reports on my dev console from other phones

5 posts - 1 participant