- Home /
Question by
snarlynarwhal · Aug 13, 2017 at 09:00 PM ·
buglinerendererbug-perhapsbugsbug report
Unity Line Renderer drawing extra line to another point..
Unity line renderer occasionally drawing a third line to another, separate line renderer. If you look at the leftmost line renderer, it only has 2 points. The other has 10. Why is the line renderer connecting them sometimes? Turning the game object on and off randomly toggles whether that random line is visible or not. As you can see it's not visible in the second image.
EDIT:
Okay so there definitely seems to be a bug related to the LineRenderer.Loop property. Setting it to true makes other line renderers connect to the first point of the looped line renderer at random. Turning it off makes it behave as expected.
capture.png
(92.5 kB)
capture0.png
(79.3 kB)
Comment