Thank you for submitting your inquiry.
You can track the status of your inquiry here.
You may want to save your case's ticket: 877766_68lsfpq2iqf88c2p

    (Closed) Cannot render to temporary texture if camera.targetTexture is not null
    Cannot render to temporary texture if camera.targetTexture is not null

    1. What happened
    If I set a non-null render texture to camera.targetTexture in OnPostRender function, the camera doesn't render anything onto a temporary texture that was set to camera.targetTexture in OnPreRender function. The test code is in Assets/RenderTextureText.cs.
    I needed to set a render texture to camera.targetTexture to prevent VR SDK from moving the camera along with HMD.

    2. How we can reproduce it using the example you attached
    Step 1) Open Test scene.
    Step 2) Run Test scene.
    Step 3) Select 'Camera' object which is a child of 'Main Camera'der  in Hierarchy view.
    Step 4) Double click 'Render Texture' property in Inspector view.
    Step 5) Check the rendered image. It is supposed to have a cube image.

    This is the main reason why DynamicShadowProjector didn't work on Unity 5.6 beta as I mentioned in Case 876867.

    License type: Free
      To follow up on this case, send email to mentioning 'Case 877766' in the subject.
      Your Cases:
      Case Title Status Date Opened
      987774 PPtr cast failed when dereferencing! Casting from MeshRenderer to Material Closed 1/14/2018 12:10 PM
      933509 Cannot blur a render texture in Edito mode Closed 7/21/2017 8:30 AM
      913579 Error message shown when Camera.Render called Closed 5/22/2017 4:10 PM
      913568 Temporary render texture got Tiled GPU perf. warning on Unity 5.6.1 Closed 5/22/2017 3:50 PM
      913562 Cannot render to a temporary rendender texture again Closed 5/22/2017 3:30 PM
      877766 Cannot render to temporary texture if camera.targetTexture is not null Closed 2/4/2017 3:40 PM
      876867 Unity Editor crashes when a script file edited Closed 2/2/2017 2:30 AM
      827705 Rendering order of Projector shadows and transparent objects Closed 8/31/2016 8:10 AM
      790113 Crash when delete the main camera Open 4/20/2016 6:48 AM
      752250 Shader compile error (OpenGLCore Closed 12/9/2015 5:28 PM
      694459 A$ Submission 35558: Dynamic Shadow Projector Closed 5/4/2015 7:51 PM
      688968 RenderTexture.DiscardContents does not discard mipmap contents, or Tiled GPU perf warning is printed wrongly Open 4/13/2015 8:29 AM
      621916 A$ Submission 126175: Fast Shadow Receiver Closed 7/24/2014 6:07 PM