I’ve tried this same set up but am unable to get the menuButton to work on the Quest 2. It runs fine through PCVR but when I build it’s not recognizing the menu button. I’ve tried both menuButton and Start but no luck, any ideas?
Sorry for late reply, my notifications were off. I made a new action for XRI Left Hand called Toggle. It’s checking for menuButton[LeftHand XR Controller] (this one only works on PCVR not when it’s built on Quest) and then I have secondaryButton [LeftHand XR Controller] (this is my temp solution until I get the menu button to work).
Hey, this button in the Oculus left controller is the start button.
Have you tried the following bind path for Quest: {LeftHand}/start
It’ll show up as: start [LeftHand XR Controller]
I’m not sure why but I am not seeing that option here. Even when I go through all of the XR Controller Left Hand options, I don’t see one that says Start. Are you on the most up to date version?
The latest version should be fine.
Maybe it’s the selected control scheme (the first toolbar option in the editor action window).
Try to set it to “All Control Schemes”, like in the image.
Hey @LuigiNicastro , I can try to reproduce your issue here, can you please provide your setup? The version of your installed packages and the XR provider(s) (Oculus, OpenXR, etc) your are using.
I’m on Unity 2020.3.30f1 and these are the packages being used
and these are my interaction profiles
PS: I forgot to mention but I’m testing using Vive Focus with HTC Stream mode (runs on pc, streams on headset), but the issue with the Menu button is the same I believe.
@andersoncc this binding isn’t working. I’m also having this issue. 2021.2.18f1
OpenXR version is 1.3.1, I am testing on an Oculus Quest 2. (Not Oculus Link)
I’ve tried Oculus Touch Controller Menu, OculusTouchController Left Menu, XRController Left Hand Menu, XRController Left Hand MenuButton, XRController Menu, XRController MenuButton, and I don’t have Start button in any menus, even when not using quick search. This code below works if I change the button to the trigger:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class MenuToggle : MonoBehaviour
{
[SerializeField] InputActionAsset inputActions;
InputAction menuToggle;
bool menuActive;
[SerializeField] GameObject menuPanel;
// Start is called before the first frame update
private void Start()
{
var inputActionMap = inputActions.FindActionMap(“XRI LeftHand Interaction”);
menuToggle = inputActionMap.FindAction(“Menu Toggle”);
menuToggle.performed += ToggleMenu;
menuToggle.Enable();
}