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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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