Search Issue Tracker
By Design
Votes
0
Found in [Package]
7.5.1
Issue ID
1292097
Regression
No
[XR SDK] [URP] Custom Render Feature is not initialized when Stereo Rendering Mode is set to Single Pass Instanced
Reproduction steps:
1. Open the attached project ("1292097Repro.zip")
2. Open the "Grass Displacement RenderFeature Demo" scene
3. Make sure XR Plug-in Management->Oculus is enabled
4. Set Oculus Stereo Rendering Mode to Single Pass Instanced
5. Enter play mode
Expected result: Grass is fully rendered
Actual result: Grass is cut off (partially rendered)
Reproducible with: URP 7.5.1, 8.2.0, 11.0.0 (2019.4.16f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0a10)
Could not test with: 2018.4.30f1 (XR SDK not available)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Resolution Note:
In the repro project, user script creates the m_GrassDisplacementFX based on the camera descriptor. The m_GrassDisplacementFX later binds to shader as Texture2D.
In XR single pass mode, the camera target descriptor's dimension is texture2DArray. This is the divergent behavior between XR and non-XR. Because of this, m_GrassDisplacementFX is created as texture2DArray and this caused the binding operation to fail.
After modifying the custom code to create m_GrassDisplacementFX as texture2D, custom render feature works as expected.