When using Unity's XR system, the teleport ray / line renderer I'm stuck on the floor. Turning the XR rig also turns the line, so the line is stuck on 0,0,0 on the XR Rig

I've played with most settings but can't find why the line isn't being translated to the action based controllers position. Using Debug.Log shows the action based position from the controller is correct.

I'm following LevelUp's tutorial on how to create a grab and teleport manager to enable having several action based XR controllers at once.

Disabling the other XR Controller (Action-Based) controllers seems to resolve the issue but I need them enabled to be able to teleport and grab with the same controller.

Has anyone else had this issue? Any tips on troubleshooting or reasons for why this would happen?

Unity Inspector and XRI input actions

Several components

Line Renderer component

  • \$\begingroup\$ Can you show us the configuration of your LineRenderer component? \$\endgroup\$
    – DMGregory
    Jul 20, 2021 at 14:16
  • \$\begingroup\$ @DMGregory added image showing Line Renderer \$\endgroup\$ Jul 22, 2021 at 7:46
  • \$\begingroup\$ I note that the "use world space" box is ticked. Do you get different results when unticking the box? \$\endgroup\$
    – DMGregory
    Jul 22, 2021 at 11:34


You must log in to answer this question.

Browse other questions tagged .