SteamVR Issue: Hover Interactions Locked after pressing Teleport

Hello,

I have a major issue with interactions in SteamVR and not sure what caused it.

When I start the Game mode I can pick up and interact with objects with Vive controllers, however as soon as I teleport or even press the teleport button once, I am unable to interact with objects anymore.

Debug text on the controllers suggests that Hover function gets locked. It starts saying: HoverLock: False and changes to True if you are holding/ interacting with the object and if you drop the object it changes back to False. However, when the teleportation is activated at least once it changes to HoverLock: True and won’t change back to False.

This is true for both controllers: pressing teleport button once disables interaction for that controller, so if I press teleport on another one it will disable interactions on it as well.

This issue was not present before in my project and must have somehow got introduced, but I cant find what caused it.

1 Like

Can somebody help? I have the same issue as above and I’ve got no idea why does it even happen.

//Edit
I did some digging and there seems to be an issue in Teleport.cs which results in hoverLocked of a Hand being set to true every frame after you use teleport with it. I’m not a professional so I’m pretty sure my solution might break some functionalities, but I tested it briefly and it seemed to work just fine. So here it is - I commented out this line (746 or so) from the ShowPointer method in Teleport.cs:

originalHoverLockState = pointerHand.hoverLocked;
1 Like

Hey I had the same problems that interactables where not detected and couldnt be held.
Commenting out the line szanuj posted worked for me (for now)