Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2017.4
2018.4.0f1
2020.2
Issue ID
1217671
Regression
No
unity_LightColor getting wrong intensity of light when using vertex lights
Reproduction steps:
1. Open the user's attached project ("Lighting.zip")
2. Open any scene from "Assets/Fail" folder
3. Inspect the light blend in the scene
Expected result: Light intensity is set correctly
Actual result: Light intensity is set incorrectly; layered lights can be seen
Reproducible with: 2017.4.38f1, 2018.4.18f1, 2019.3.5f1, 2020.1.0b1, 2020.2.0a3
Note: From the repro project, these light setups do/do not work:
Working:
- 0 Directional 4 Point (Auto)
- 0 Directional 4 Point (Not Important)
- 1 Directional (Auto) 2 Point (Important) 2 Point (Not Important)
- 1 Directional (Auto) 4 Point (Important)
Not Working:
- 1 Directional (Auto) 2 Point (Auto)
- 1 Directional (Auto) 3 Point (Not Important)
- 1 Directional (Auto) 5 Point (Important)
- 1 Directional (Important) 2 Point (Important)
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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note:
Tested URP vertex lighting with stock URP shader and it works as expected. The port of the shader to URP seems to contain some issues causing lights evaluation to be wrong.