High Latency with GoogleVR & Durovis (Unity 5.4) [SOLVED]

Hi there,

In the past I developed some VR projects using Durovis Dive, under Unity 4.6, and they worked just fine.

But now, using the exact same Durovis Unity plugin, I get a lot of gyro latency. And for “a lot” I mean moving my head to the right, and half a second later, it showing on screen.

I tried the same with GoogleVR but problem persists (even worst due to “barrel distortion” frame dropping), and even coded myself a script using the Input.gyro.attitude, acceleration etc, with the same high latency results.

My scene is just a textured cube with flipped normals and static light.

I’m using the same device as before, running Android 4.4. I can still play the old VR projects made with Unity4.6+Durovis and they work flawlessly, with almost zero latency showing quite complex scenes.

Any clue of what can be happening?

Thanks in advantage.

UPDATE: I’ve just recreated the same project in Unity 4.7.2f1 and works with perfect gyro sync and rock solid 60fps, even with dynamic lights.

What is going on, Unity???

UPDATE 2: after reading some Android posts, I just realized I’ve learned the hard way u_u

Android devices suffer from a huge slowdown when using standard shaders (or kind of), don’t care about how many meshes you have on screen.

I was using Pro Builder with the default “Pro Builder Standard” material, which seems to be related to the Unity5
Default Standard Shader. Just changed to “Diffuse” and got an instant performance boost, that not only affected graphics, but gyro performance aswell. Just that simple.

So, the today’s lesson is: don’t mess with any complex shader under Android. Period.