Search Unity

Bug Line Renderer Jittering in One Eye

Discussion in 'VR' started by lorenzoteslermabe, Mar 2, 2023.

  1. lorenzoteslermabe

    lorenzoteslermabe

    Joined:
    Dec 23, 2020
    Posts:
    24
    Hello!

    I am having a very weird problem: I have a line renderer, parented to the camera, coming from close to the center of the user's eyeline out into the distance. When I look at the line from the left lens, everything is fine, but when I look at the line from the right lens, the line is very noticeably jittering.

    I am on a Pico Neo 3 Pro, using OpenXR. Can try to get some video of the situation if needed. Any idea what the heck is going on here?

    Best,

    Lorenzo
     
  2. glenneroo

    glenneroo

    Joined:
    Oct 27, 2016
    Posts:
    231
    That sounds like a problem with LineRenderer that I encountered and was never able to work around years ago. I'm guessing that's one reason why Unity made the XRLineRenderer: https://github.com/Unity-Technologies/XRLineRenderer

    I wish they would continue work on it though, it hasn't gotten any love in awhile. I also wish they would include it when we install XR packages somehow... or find some other way to let people know it even exists.
     
  3. lorenzoteslermabe

    lorenzoteslermabe

    Joined:
    Dec 23, 2020
    Posts:
    24
    That package fixed the issue, thank you!!
     
    glenneroo likes this.