VRInputModule - Not working in 5.4

Hoping one of the Unity engineers, or a fellow Vive developer can help me out here.

We’re using this extension to allow interatction with UGUI:

Here’s the input class itself:

It works great in 5.3, but in 5.4 the ray-cast angle is all wrong (seems to shoot off from the trigger, and is aimed left)

The module works by creating a camera at runtime, positioning it with the hand, and then using the mid-point of the camera as the raycast source.

I can’t think of any reason it would stop working in 5.4, I can’t seem to figure it out a fix within the code, but it’s pretty hard to understand how the heck this inputmodule works.

Help!?

Set the target eye on the controller to none:
ControllerCamera.stereoTargetEye = StereoTargetEyeMask.None;

1 Like

Perfect, works great now. You’re a lifesaver :slight_smile: