De-Panther / unity-webxr-export

Develop and export WebXR experiences using Unity WebGL
https://de-panther.github.io/unity-webxr-export/
Apache License 2.0
1k stars 106 forks source link

Unity XR hands not appearing in build 0.22.0 #375

Closed lsqnet79 closed 1 month ago

lsqnet79 commented 1 month ago

Describe the bug Unity XR hands not appearing in Web.

To Reproduce Follow Unity XR Hands + WebXR: How To https://www.youtube.com/watch?v=NDlc11CgnQM

Steps to reproduce the behavior: 1) Using Unity 2020.3.10f new URP sample build 2) Install Unity XR hand 1.4.0-pre.1 with both samples imported 3) Set OpenXR Features Checked Hand Interaction Poses ,Hand Tracking subsystem and Meta Hand Tracking Aim. -Tested and working 4) Link OpenUPM and install Web export 0.22.0 and Webxr interaction 0.22.0 5) Copy WebGLTemple 6) Set WebGLtemple to WebXR 2020 and Compression format to Disable 7) Input System Package create and set Background behavior to Ignore Forcus 8) Checked WebXR Export in XR Plug-in Mangaement. 9) In Hand Gestures scence - XR Orgin - Reset Camera Offset and set Main camera position Y to 1.1 10) Add WebXR Manager and WebXR Input System and Set Tracking Orgin Mod to Floor 11) Build and run WebXR 12) Hands not appearing!!!

Screenshots

This is my Setup Screenshot 2024-05-07 112533

I unchecked the auto load WebXR Manager and WebXR Input System

Screenshot 2024-05-07 114335

OpenXR for editor

Screenshot 2024-05-07 114409

Chrome WebXR hands input enabled Screenshot 2024-05-07 114722

Desktop (please complete the following information):

Headset (please complete the following information):

Additional context

De-Panther commented 1 month ago

Why did you unchecked the auto load for WebXRManager and WebXRInputSystem?

Does hands works with your setup in existing demos? (e.g. the demos in this repo, or the WebXR Samples repo)

lsqnet79 commented 1 month ago

Why did you unchecked the auto load for WebXRManager and WebXRInputSystem?

  • From your video WebXRManager and WebXRInputSystem is aleady added in the XR Origin Does hands works with your setup in existing demos? (e.g. the demos in this repo, or the WebXR Samples repo) Hands are working in the handGestures demo with openXR in editor mode
De-Panther commented 1 month ago

My video is for an older version of the package.(as you can see in the video, there's no option for auto load) Is in your version they are already in the scene?

lsqnet79 commented 1 month ago

My video is for an older version of the package. Is in your version they are already in the scene?

My video is for an older version of the package.(as you can see in the video, there's no option for auto load) Is in your version they are already in the scene?

ok I checked the auto load and remove the component in XR origin the result is still the same.

De-Panther commented 1 month ago

Does hands works with your setup in existing demos? (e.g. the demos in this repo, or the WebXR Samples repo)

De-Panther commented 1 month ago

Can you enter WebXR mode?

lsqnet79 commented 1 month ago

Can you enter WebXR mode?

Yes I can just the hands are not appearing.

De-Panther commented 1 month ago

Does hands works with your setup in existing demos? (e.g. the demos in this repo, or the WebXR Samples repo)

lsqnet79 commented 1 month ago

Does hands works with your setup in existing demos? (e.g. the demos in this repo, or the WebXR Samples repo)

Yes Screenshot 2024-05-07 153737

De-Panther commented 1 month ago

Does hands works with your setup in existing demos? (e.g. the demos in this repo, or the WebXR Samples repo)

Yes Screenshot 2024-05-07 153737

Is this WebXR demo or Unity editor/build?

Does hands works with your setup in existing WebXR demos? (e.g. the demos in this repo, or the WebXR Samples repo) https://de-panther.github.io/unity-webxr-export/Build https://de-panther.github.io/unity-webxr-export/XRInteractionToolkitDemo

lsqnet79 commented 1 month ago

ok I know what the problem in Meta quest link the Developer runtime features didnt checked. Think Meta did some update to Meta quest link and looks diffetent. Now is working now appreciated your help. Thank you