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
- 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
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
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.