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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.