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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
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.