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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
Deprioritised - the LineRenderer is being superceded by VFX Graph functionality.