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
- Environment Lighting does not change when changing its properties in Play mode
- Black artifacts appear when playing a certain transcoded video using VideoPlayer
- UI Builder fails to create StyleSheet with large file name because 'path is outside of the project'
- Repeated warnings appear when applying Lit Material to "SpriteRenderer" in 3D project
- Graphic components errors when running Dedicated Server Build/Standalone build at headless runtime
Resolution Note:
Deprioritised - the LineRenderer is being superceded by VFX Graph functionality.