Jump to content

Use ViveInput when VR Supported is unchecked


sergiobd

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...