Skip to main content
New Participant
March 19, 2015

1 frame delay on GUI display

I have been trying for a couple of days to implement a uGUI GUI in Gear VR but I always get a one frame delay when displaying the GUI. This result of this is that when I stop rotating the HMD the GUI takes a frame to catch up which is really ugly. I first tried to attach the Canvas to the left, center and right anchor points but this caused the delay. Next I tried to attach a callback to OVRCameraRig.UpdatedAnchors and used this callback to set the Canvas' position and orientation using the OVRCameraRig.rightEyeAnchor transform (I also tried leftEyeAnchor and centerEyeAnchor). I managed to get the GUI to stay in the center of the screen but the 1 frame delay was still present.

The interesting and somewhat worrying thing is that the menu created by the OVRUGUI.cs script which is part of the SDK also has the same 1 frame delay.

Has anyone else experienced this problem and has anyone worked out how to solve it?
    This topic has been closed for replies.

    3 replies

    Inspiring
    March 19, 2015
    Have you tried making it a child of the left or right eye camera?
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    fawnhaAuthor
    New Participant
    March 20, 2015
    Yes, I tried the left camera, right camera and center camera.
    Participant
    June 22, 2015
    I am seeing this also. Were you able to find a solution?