Search Issue Tracker

Fixed in 2022.2.X

Duplicate in 2020.3.X, 2021.3.X

Votes

1

Found in

2019.4

2020.3

2020.3.14f1

2021.1

2021.2

2022.1

Issue ID

1368988

Regression

No

LineRenderer is not drawn if the length is 0.003162 or less

Visual Effects - Legacy

-

How to reproduce:
1. Open the project "LineRendererReport.zip"
2. Open "SampleScene" Scene (Assets>Scenes>SampleScene)
3. In the Hierarchy window select "LineRenderer"
4. Go to the Game window
5. In the Inspector find a "Line Renderer" component with a table in it and change index "1" X value to "0.003162"

Expected result: The game window shows a line which length is 0.003162
Actual result: The game window is not showing a line when the length is 0.003162

Reproducible with: 2019.4.30f1, 2020.3.19f1, 2021.1.23f1, 2021.2.0b15, 2022.1.0a11

Notes:
- If the line's length is 0.003163 then it's shown
- Reproduces in the Build and in the Editor

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a5

Comments (2)

  1. ThalesRARV

    Aug 11, 2023 06:16

    This bug is not fixed, as mentionned in this thread : https://forum.unity.com/threads/linerenderer-cannot-draw-short-lines.1175696/

  2. triple_why

    Mar 11, 2022 05:50

    It would be nice if this fix is backported to production-line versions.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.