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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
Deprioritised - the LineRenderer is being superceded by VFX Graph functionality.