Search Issue Tracker
Won't Fix
Votes
1
Found in [Package]
11.0.0
Issue ID
1378310
Regression
No
Clouds do not render in URP when VR with Render Mode set to Single Pass Instanced is enabled
Reproduction steps:
1. Open the user's attached "WeatherMaker_LatestUnity.zip" project
2. Open the "DemoSceneURP" Scene
3. Enter the Play mode
4. Click on the dropdown menu in the left upper corner of the Scene and select "Heavy (Dark)"
Expected result: The blue parts in the Scene get filled with dark clouds
Actual result: The blue parts in the Scene stay the same
Reproducible with: 10.7.0 (2020.3.22f1), 11.0.0 (2021.1.28f1)
Could not test with: 7.7.1 (2019.4.32f1) (Multiple console errors, corrupted Scene), 12.1.1 (2021.2.2f1), 13.0.0 (2022.1.0a15) (Scene is black, missing Prefabs)
Notes:
- The shader used for rendering clouds is "WeatherMakerFullScreenCloudsShader.shader"
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
- Avatar Mask dropdowns in the Inspector reset and collapse whenever the Asset Type is deselected
- Category filter overlaps with the search bar icon in the Test Runner window when the window is minimized
- Deletion prompt is opened when trying to delete a Parent Blendtree State via delete shortcut
- “Assertion Failed”, “Invalid AABB a” and Mesh errors are thrown when editing Group Seed or Frequency settings for Tree Object
- “GetAllOverlapping failed…” error when clicking a GameObject during a custom picking pass in the Scene view for the second time
Resolution Note:
The script executes an already built command buffer on SRP context. The commandbuffer recorded cmd.Blit which does not work with URP XR integration. cmd.Blit disables several XR shader keyword internally which is required for URP XR rendering.
To do full pass in URP, we have an documentation here showing the example: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@12.1/manual/renderer-features/how-to-fullscreen-blit-in-xr-spi.html
The script tries to run same command buffer on both URP and BIRP. This approach is not recommended and may run into more compatibility issue in the future when URP diverges further from BIRP.