Search Issue Tracker
By Design
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
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.