Search Issue Tracker
By Design
Votes
8
Found in
2022.3.13f1
2023.1.20f1
2023.2.0b17
2023.3.0a14
6000.0.0b11
7000.0.0a1
Issue ID
UUM-56017
Regression
No
Reflection Probe does not overwrite the Environment Reflections when Rendering Path is set to Forward+
How to reproduce:
1. Open the “ForwardPlusReflection“ project
2. Open the “ReproScene“
3. In the “Assets/URP Renderer“ set the Rendering Path to Forward or Deferred
4. In the Control area of the Lighting window select Bake Reflection Probes
5. Observe the reflections on the “TestSphere“ GameObject
6. In the “Assets/URP Renderer“ set the Rendering Path to Forward+
7. In the Control area of the Lighting window select Bake Reflection Probes
8. Observe the reflections on the “TestSphere“ GameObject
Expected result: The “TestSphere“ reflects the other GameObjects placed in the Scene with all the Rendering Path options
Actual result: The “TestSphere“ reflects the other GameObjects in the Scene with the Rendering Path set to Forward or Deferred but with the Rendering Path set to Forward+ it reflects the Skybox material
Reproducible with: 2022.3.13f1, 2023.1.20f1, 2023.2.0b17, 2023.3.0a14
Could not test with: 2021.3.32f1 (Forward+ is not an option for the Rendering Path)
Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Notes: Reproducible in Player
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 URP's GardenScene sample gives an example how we can solve the reflection probes for Forward+ using a custom function as a RG node
Here is the code:
#ifdef SHADERGRAPH_PREVIEW
reflection = 0;
#else
half3 reflectionVec = reflect(-viewDirectionWS, normalWS);
reflection = GlossyEnvironmentReflection(reflectionVec, positionWS, 0, 1.0h, screenspaceUV);
#endif