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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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