Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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:
    211
    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.