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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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.