Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. 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

VR issues with Single Pass Stereo in 2017 (also in 5.6.1)

Discussion in '2017.1 Beta' started by Thrawn75, Jun 23, 2017.

  1. Thrawn75

    Thrawn75

    Joined:
    Nov 16, 2014
    Posts:
    2,478
    I've reported two cases 923402 & 906203 with repros showing behaviour changes and errors with VR SPSR in latest Unity versions, including 2017.
     
  2. jmitcheson

    jmitcheson

    Joined:
    Oct 21, 2016
    Posts:
    96
    Sorry but how would one find the bug descriptions from those numbers? I am interested to know what issues you have discovered.
     
  3. Thrawn75

    Thrawn75

    Joined:
    Nov 16, 2014
    Posts:
    2,478
    It turns out 906203 has been marked as duplicated. Original bug report is 918634:
    Blit to temporary render texture does not set _MainTex_ST properly with Single Pass Stereo (VR).

    Basically the issue is that in Unity 5.6, when bitting from a temporary render texture to destination in OnRenderImage method, _MainTex_ST reports different values than in Unity 5.5 breaking final compositing when SPSR is enabled:

    a) Blit (source, destination) -> works in Unity 5.5 and Unity 5.6 with SPSR.
    b) Blit (source, temporary); Blit (temporary, destination) -> works in Unity 5.5, fails in Unity 5.6 with SPSR.

    Regarding case 923402 the issue has to do with SetTargetBuffers. It just does not render properly to different color and depth buffers the SPSR is enabled.

    Can't share the repros here. These issues affect entire 5.6.1 versions and according to the changelog they seem to be also present in 5.6.2.
     
    plmx and MrEsquire like this.
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,116
    You can view publicly available bug reports here: https://issuetracker.unity3d.com/
     
  5. jimmikaelkael

    jimmikaelkael

    Joined:
    Apr 27, 2015
    Posts:
    594
    Any progress since ?
    Could it be related to https://docs.unity3d.com/ScriptReference/Camera-forceIntoRenderTexture.html ?
     
  6. Thrawn75

    Thrawn75

    Joined:
    Nov 16, 2014
    Posts:
    2,478
    No progress yet AFAIK. And it's quite unfortunate since it's breaking a lot of things that were working in 5.5. I would like to know if this is an intended change or really a bug (like QA has confirmed to me, honestly I can't think they have broken the behaviour for the entire 5.6 release so far without notice..)
     
    Last edited: Jul 7, 2017
    plmx and jimmikaelkael like this.
unityunity