Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No input is handled after following the guide. #391

Open
genisbr opened this issue Sep 23, 2024 · 1 comment
Open

No input is handled after following the guide. #391

genisbr opened this issue Sep 23, 2024 · 1 comment

Comments

@genisbr
Copy link

genisbr commented Sep 23, 2024

Describe the bug
No input from the controllers is being handled apparently when exporting the DemoScene with the webxr exporter.

To Reproduce
Steps to reproduce the behavior:

  1. Create VR project in unity
  2. Load the 2 libraries using openUPM
  3. Open Scene Assets/Samples/XR Interaction Toolkit/2.4.3/Starter Assets/DemoScene.unity
  4. Execute the steps described on the video https://www.youtube.com/watch?v=4wQG8_pb3cs
  5. Build and run
  6. Click on VR button, so it loads the game on the headset or the webxr emulator
  7. Try to move with the joystick or grab any item with the buttons. It does nothing.

Expected behavior
When pushing joystick up I expect the rig to move forward.
When grabing I expected to grab the interactable samples.
This is working fine by executing on the editor. Not when exported to browser.
The ray turns to blue when pointing the object, however, buttons seems not to work.

Screenshots

Unity info (please complete the following information):

  • Editor version: 2022.3.7f1
  • WebXR package version: 0.22.0
  • WebXR Interactions version: 0.22.0
  • Git or OpenUPM: OpenUPM
  • Using old components (like the Desert sample) or Input System + XR Interaction Toolkit: I guess Input System + XR Interaction Toolkit
  • Built-in render pipeline or URP: (the default one with core vr project, URP Global settings I guess.

Desktop (please complete the following information):

  • OS + Version: Windows 11
  • Browser:Chrome 129.0.6668.59

Headset (please complete the following information):

  • Device: HP Reverb G2
  • OS: Windows Mixed Reality / Steam VR / Unity
  • Browser: Chrome 129.0.6668.59

Additional context
Add any other context about the problem here.

@De-Panther
Copy link
Owner

Should work with the versions you mentioned.
My guess is that you are missing something in your scene.

Try to build the WebXR Interactions XR Interaction Toolkit sample scene.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants