Search Issue Tracker
Third Party Issue
Votes
0
Found in
6000.0.21f1
Issue ID
UUM-82610
Regression
Yes
Unstable lighting when additional light sources are added in Shader Graph nodes
Reproduction steps:
1. Create a new 3D (URP) project
2. Right-click on empty space in the Project window
3. Select “Import Package / Custom Package” option
4. Select the attached “bugrepro.unitypackage” Package
5. Open the “Scenes/SampleScene” Scene
6. Observe the “Sphere” GameObject in the Scene View
Expected result: The GameObject’s surface is lit by 2 different lights
Actual result: The GameObject’s surface is unlit and sometimes flickers
Reproducible with: 2023.3.0a2, 6000.0.21f1
Not reproducible with: 2021.3.44f1, 2022.3.47f1, 2023.2.0a23
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Note:
- Reproduction may be inconsistent. While upgrading from 2022.3 to Unity 6, the issue did not reproduce. Each time, a new project was created and the package imported anew for the issue to be visible
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
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
- 32bit floating point RenderTexture blending feature is not available for WebGPU
Resolution Note:
This issue is caused by the user setting up the custom lighting incorrectly. Custom Lighting in Shader Graph is possible, but it's not officially supported so this can't be considered a bug. The user should see the custom lighting examples that are available in Shader Graph's Feature Examples sample - importable from the Package Manager - for an example of how this effect can be achieved. Specifically pay attention to the Keyword parameters that are required in the Shader Graph asset.