Search Issue Tracker
By Design
Votes
0
Found in
2022.3.31f1
6000.0.4f1
Issue ID
UUM-72835
Regression
No
Reflection Probes are not working with Shader Graph when the Rendering Path is Forward+
How to reproduce:
Open the attached project "URP reflection probe bug.zip"
Expected results: "ShaderGraph" GameObject is reflective
Actual results: "ShaderGraph" GameObject is black
Reproducible with: 2022.3.31f1, 6000.0.4f1
Could not test with: 2021.3.39f1 (no Forward+ option)
Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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