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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Resolution Note:
Deprioritised - the LineRenderer is being superceded by VFX Graph functionality.