Search Unity

HDRP + VR: RenderTexture not working

Discussion in 'AR/VR (XR) Discussion' started by stevenwanhk, Feb 16, 2020.

  1. stevenwanhk

    stevenwanhk

    Joined:
    Jul 20, 2016
    Posts:
    105
    The RenderTexture will always be override by HMD camera in VR, instead of the camera with target texture setting to the RenderTexture.

    FYI,
    RenderTexture works in legacy rendering pipline
    RenderTexture works in HDRP without VR

    PS. 2019.3.0f6 with Oculus Rift S
     
  2. neilson-ks

    neilson-ks

    Joined:
    Mar 29, 2016
    Posts:
    3
  3. rtilton1

    rtilton1

    Joined:
    Jan 4, 2017
    Posts:
    58
    Last edited: Mar 18, 2020
  4. rtilton1

    rtilton1

    Joined:
    Jan 4, 2017
    Posts:
    58
    Also just tried it in Unity 2019.3.5f1

    An update on when this will be fixed would be greatly appreciated.
     
  5. fabien-unity

    fabien-unity

    Unity Technologies

    Joined:
    Oct 17, 2018
    Posts:
    49
  6. rtilton1

    rtilton1

    Joined:
    Jan 4, 2017
    Posts:
    58
    This did fix the render texture problem. Thanks Fabien!! I am noticing when I close/open unity the script keeps reverting. Is there a way to make sure this update sticks or do we need to wait for it to go into a public release?
     
  7. texone

    texone

    Joined:
    Jan 26, 2018
    Posts:
    10
    Is this still an issue? Have the same problem in 2019.3.15f1 as soon as I deactivate oculus plugin in the project settings rendertextures look like they should but with oculus activated rendertexture cameras are wrong,
     
  8. texone

    texone

    Joined:
    Jan 26, 2018
    Posts:
    10
    Does anyone have a solution for this I also tried it with the latest 2020 beta @fabien-unity
     
unityunity