Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2020.3.38f1
2021.3.6f1
2022.1.13f1
2022.2.0b4
2023.1.0a5
2023.2.0a1
Issue ID
UUM-12415
Regression
No
GameObject renders with the 'LIGHTPROBE_SH' keyword when the Light Probes are set to ‘off’ in the Mesh Renderer Component
Reproduction steps:
1. Open the attached ‘Bug Test’ project
2. Open the ‘test’ Scene
3. Observe the ‘Sphere’ GameObject, note that Light Probes are set to ‘off’ in the Mesh Renderer Component
4. Go to the ‘Window → Analysis -> Frame Debugger’
5. Observe the ‘RenderDeffered.GBuffer’ Render Target’s Keywords
Expected result: No ‘LIGHTPROBE_SH’ Keyword is used
Actual result: The ‘LIGHTPROBE_SH’ Keyword is present
Reproducible with: 2020.3.38f1, 2021.3.6f1, 2022.1.13f1, 2022.2.0b4, 2023.1.0a5
Reproduced on: MacOS 11.6 (Intel)
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
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
Resolution Note:
This is working as designed. The reason you are still seeing the LIGHTPROBE_SH keyword set when the Sphere object is rendered is because the object is sampling the global Ambient Probe, see this page for more info https://docs.unity3d.com/ScriptReference/RenderSettings-ambientProbe.html.
If you don't want any contribution from the ambient probe, you can go to the Lighting window, set Environment Lighting Source to Color and set the color to black.
It is also possible to force it to black in the player by assigning a cleared SphericalHarmonicsL2 (https://docs.unity3d.com/ScriptReference/Rendering.SphericalHarmonicsL2.Clear.html) to RenderSettings.ambientProbe.
Resolution Note (2023.2.X):
This is working as designed. The reason you are still seeing the LIGHTPROBE_SH keyword set when the Sphere object is rendered is because the object is sampling the global Ambient Probe, see this page for more info https://docs.unity3d.com/ScriptReference/RenderSettings-ambientProbe.html.
If you don't want any contribution from the ambient probe, you can go to the Lighting window, set Environment Lighting Source to Color and set the color to black.
It is also possible to force it to black in the player by assigning a cleared SphericalHarmonicsL2 (https://docs.unity3d.com/ScriptReference/Rendering.SphericalHarmonicsL2.Clear.html) to RenderSettings.ambientProbe.