Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2019.3.0f3
2020.1
Issue ID
1216759
Regression
No
Line Renderer line normals are directed to the camera plane when Generate Lighting Data is used
How to reproduce:
1. Open the attached 'URP-Bug.zip' project
2. Open 'SampleScene' Scene
3. Notice that 'Default Lit Material (2)' children contain shader that sets Camera direction to color
4. Notice that 'Default Lit Material (1)' children contain shader that sets Normal Vector to color
5. Pan the viewport camera and observe 'Default lit Material (1)' and 'Default lit Material (2)' GameObjects' color changes
Expected result: Line Renderer lines' normal and tangent vectors are perpendicular to the curve's vertices and 'Default Lit Material (1)' Line Renderer's lines match 'Default Lit Material (1)' Particle System's color
Actual result: Line Renderer lines' normals are directed to the camera plane and 'Default Lit Material (1)' Line Renderer's lines do match 'Default Lit Material (1)' Particle System's color
Reproducible with: 2017.4.36f1, 2018.4.17f1, 2019.3.1f1, 2020.1.0a23
Notes:
- The issue is happening when 'Generate Lighting Data' is set in Line Renderer's component
- Screenshot describing the issue is attached in Edit
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Resolution Note:
Deprioritised - the LineRenderer is being superceded by VFX Graph functionality.