Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

Use ViveInput when VR Supported is unchecked


sergiobd
 Share

Recommended Posts

Hi,

For very specific reasons, in our build we cannot check the "Virtual Reality Supported" checkbox in Unity's player settings. This apparently breaks the functionality of the Vive Input Utility, probably because no proper RayCaster is assigned to the EventSystem.

When VR is supported, the following objects are created at runtime:

 

 

 

I've added them manually to the hierarchy, but still, the EventSystem is not registering any events. I would appreciate if someone could point me in the right direction in order to hook the events to the event system...

 

EDIT:

I added the Vive Raycaster, Physics Raycast Method, and Canvas Raycast Method to the gameobject that hold my controller. Now I do get hover events, but I do not get any click events.

Link to comment
Share on other sites

  • 1 month later...

 Sorry for the late reply. Did you try to add CanvasRaycastTarget to your Canvas gameObject? Please refer to the UGUI(Example 1), in the scene, Canvas gameObject needs to add CanvasRaycastTarget in order to receive raycaster and button event. Let me know if you run into more issues.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...