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
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
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.