Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

ComputeShader in VR is very slow

Discussion in 'VR' started by andrea_i, Jun 23, 2020.

  1. andrea_i

    andrea_i

    Joined:
    Nov 18, 2012
    Posts:
    19
    Hi, I wonder if anyone else is experiencing slow Compute Shaders in Unity 2019.3/4 with pc-connected headsets (oculus link, rift, etc.).

    On desktop, my compute shader goes at around 150FPS, while in VR it goes down to 40fps.
    Nothing changes if I disable the shader rendering these buffers, the bottleneck is definitely not on the shader.

    I do not use GetData, it's all indirect dispatches.
     
unityunity