Search Issue Tracker
Fixed in 7.3.0
Votes
1
Found in [Package]
7.1.6
Issue ID
1211047
Regression
No
[HDRP] [XR] Single-pass does not work with XR Management Package when XR is not initialized before first frame
How to reproduce:
1. Open the attached (stereo-singlepass-test.zip) project
2. Enter the PlayMode
Expected result: Single Pass works with XR Management Package when XR is not initialized before the first frame
Actual result: Single Pass does not work with XR Management Package when XR is not initialized before the first frame (the full error is in Edit)
Reproducible with: 2019.3.1f1 [HDRP 7.1.6] [XR Management 3.0.5], 2020.1.0a22[HDRP 7.1.8] [XR Management preview.2 3.1.0]
Notes:
- Disabling "Single Pass" option in HDRenderPipelineAsset works around the issue
- Could not test on 2019.2, because of errors in the code
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
- Compiled Shader code has self-assignments and redundant code in the Shaders that use "enable_d3d11_debug_symbols"
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
- "Unable to get the list of approved APIs." is thrown when testing the App Packages with Windows App Certification Kit
foonix
Mar 05, 2020 12:43
The workaround is to set `TextureXR.maxViews = 2` before the completion of the first HDRP frame.
See: https://github.com/Unity-Technologies/ScriptableRenderPipeline/pull/5853
```csharp
private void Awake()
{
TextureXR.maxViews = 2;
}
```