Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question [URP 14] RenderTextureHandle and cameraData.isStereoEnabled obsolete

Discussion in 'Universal Render Pipeline' started by Jonathan_L, Jan 8, 2022.

  1. Jonathan_L

    Jonathan_L

    Joined:
    Jan 26, 2016
    Posts:
    38
    I am working with pre-release URP 14 and I am seeing that RenderTargetHandle is obsolete and that we should be using RTHandle instead.

    What would be the new way of getting the RenderTargetHandle.CameraTarget object?

    upload_2022-1-8_13-57-18.png

    Also, I am getting warning messages that cameraData.isStereoEnabled is obsolete and we should use xr.enabled instead, but the "xr" field isn't exposed, it's marked as internal. Am I missing something here?

    upload_2022-1-8_14-5-29.png

    Thanks in advance for any help or advice.
     
  2. daneobyrd

    daneobyrd

    Joined:
    Mar 29, 2018
    Posts:
    101
  3. Jonathan_L

    Jonathan_L

    Joined:
    Jan 26, 2016
    Posts:
    38