XR interaction toolkit teleportation gets stuck

I am currently working on a XR project and i have an issue with the teleportation. Whenever i start testing the game in the editor everything works fine. The first teleport works fine but after it the teleporting doesn’t get disabled in a sense that every action i do with the thumbstick ends up in me teleporting to the target direction.

I need help figuring out how i could disable it after the teleport.

I have this exact same issue, did you find a solution?

Ok, this worked for me: In my case, I was using a sample scene from the starter assets as a base, the issue was that the OnAfterInteractionEvents() from ActionBasedControllerManager was not running. This coroutine handles the disabling of the teleport interactor gameObject.

The coroutine was started on Awake but the right controller gameObject gets disabled and re-enabled on play (due to check-up for available input devices I think) interrupting the coroutine and not resuming it.

I moved the StartCoroutine(OnAfterInteractionEvents()); from the Awake() to a OnEnable(). And that fixed it,
I hope this helps.