Search Unity

Performance issue in Unity 2019.3.0f6 editor with VR enabled

Discussion in 'Editor & General Support' started by petergraham003, Mar 11, 2020.

  1. petergraham003

    petergraham003

    Joined:
    May 5, 2018
    Posts:
    14
    I had upgraded my project to 2019.3.0f6. In earlier version everything is working fine. But in 2019.3.0f6 editor, there was a big performance hit. The performance hit is because of
    FrameEvents.XRBeginFrame -> XR.WaitForGPU -> Gfx.WatForRenderThread -> Semaphore.WaitForSignal

    But with the standalone build of my project with the same editor 2019.3.0f6, it is again working smooth. The issue I am facing is only when testing in unity editor. Can anyone suggest me a solution to overcome this problem ?
     
  2. Katerpilet

    Katerpilet

    Joined:
    Aug 2, 2015
    Posts:
    87
    I'm also hitting in in 2019.4.7f1 on Oculus Quest using Vulkan. It looks like the graphics execution is halted until it the time it believes the game will need in terms of time to render and then does it, but then sometimes it is wrong and the frame will go slightly over which causes a frame skip