Search Issue Tracker

By Design

Votes

2

Found in [Package]

2017.4.0f1

2018.4.0f1

2019.1.0a1

2019.2.0a1

2019.2.0b2

2019.3.0a1

Issue ID

1165601

Regression

No

[XR][XR SDK][Oculus] Right eye is not rendering certain Materials when using Single Pass Instanced Rendering Mode

Package: Oculus XR Plugin

-

How to reproduce:
1. Open the "1165601_ReproProject" Project
2. Open the 'Scenes/SampleScene" Scene
3. Enter the Play Mode

Expected result: Both eyes are rendering "Plane" Game Object
Actual result: Right eye is not rendering "Plane" Game Object

Reproducible with 2017.4.29f1, 2018.4.3f1, 2019.1.8f1, 2019.2.0b8, 2019.3.0a7

  1. Resolution Note:

    The shader is missing single-pass macros:

    ------
    struct vertOut {
    float4 pos : SV_POSITION;
    float2 uv : TEXCOORD0;
    fixed4 color : COLOR;
    UNITY_VERTEX_OUTPUT_STEREO
    };
    -----
    vertOut vert( appdata_full v ) {
    vertOut vo;

    UNITY_SETUP_INSTANCE_ID(v);
    UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(vo);
    -----

    See this page for more information: https://docs.unity3d.com/Manual/SinglePassInstancing.html

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.