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
- ”Last item reached” warning is thrown when no search results are found in UI Toolkit Layout Debugger
- UI Elements overlap in the Shortcuts window when docked and resized to a smaller window size
- UIBuilder DataSourcePath dropdown fails to show properties when binding to abstract classes
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
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.