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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.