Skip to main content
Participant
May 11, 2020

Massive CPU usage by OVRManager.Update talking to OvrPlugin in v16

I just updated my project to Unity 2019.3.13f1 and in the same move, updated the Oculus Integration package to newest from Asset Store (v16)

Now I cant even hit framerate in my menu scene, because OvrManager.Update() is using 4-5ms of my frame time.

If we enable deep profiling, we can see OvrPlugin GetControllerState4 being the culprit. Whats going on here?



Is anyone else seing this? I dont know what I can do since it looks like its a problem with the plugin itself
    This topic has been closed for replies.

    22 replies

    Up and Coming
    August 7, 2020
    v19 just dropped and it mentions that they fixed the performance regression with the Rift S: https://developer.oculus.com/downloads/package/unity-integration/

    I'll try to confirm if my issue is fixed later tonight.
    Up and Coming
    August 8, 2020
    Can confirm this appears to be resolved in v19.
    Participant
    August 13, 2020
    Thanks for reporting back @Clavus!
    Up and Coming
    August 16, 2020
    Is this normal that it takes around 10ms in Unity 2019.4 URP? I have latest Version of XR Oculus and Oculus integration 



    New Participant
    August 23, 2020
    I have the exact same problem with EarlyUpdate.XRUpdate stealing 8ms and causing in game stutters.

    New Participant
    September 19, 2020

    I also have the same problem here right now. it takes 10ms.
    New Participant
    September 21, 2020
    No any news here?
    New Participant
    November 16, 2020
    Unity said that they investigate in that problem.
    Hope we will get fix soon!
    I'm pretty new here, so i cant upload full links to Unity Forum.
    forum.unity.com/threads/earlyupdate-xrupdate-taking-about-75-of-main-thread-cpu-time-is-this-normal.920234/#post-6483208
    New Participant
    December 22, 2020
    Still happens on Unity 2020.2 with Oculus Integration 20.1 & 23.1 (+Oculus XR Plugin 1.7.0 preview 2).
    The bad news is that Unity closed it as By Design and points towards Oculus Runtime.
    issuetracker.unity3d.com/issues/xr-sdk-oculus-earlyupdate-dot-xrupdate-spikes-inconsistently
    New Participant
    December 25, 2020
    I tried with an older version of Unity (2019.4) with legacy XR and Oculus Integration v15(?) (OVR 1.46.0) and the FPS is still low (on same Oculus App v24 and Oculus Quest v23). This wasn't the case before the update of either Windows 10 (20H2), NVidia Drivers (v460.89 for GTX 1070) or Oculus Quest/App.
    Since it works fine (80-90 FPS) the first time I start the app (Unity, Oculus App/Link) I tend to believe that is the latest update of Oculus Quest.
    The issue is not present if I build & run directly on the Quest (Android Player).