No video

WebXR Export for Unity - 2020-11-01 Update

  Рет қаралды 13,399

Oren De-Panther

Oren De-Panther

Күн бұрын

Пікірлер: 54
@ROBYER1
@ROBYER1 3 жыл бұрын
This is terrific work, makes me wonder why Unity don't just add this capability into the engine themselves as an official plugin
@De-Panther
@De-Panther 3 жыл бұрын
Thanks! I'm not working at Unity, so I can't give an answer to that. But it's not a simple task. WebXR API is mostly based on promises, and you don't know ahead of time which features are available, which is to some degree different from how Unity's current XR packages works. That being said, I think that asking in the forums about WebXR, and talking with relevant Unity employees, will help them see the needs and the amount of devs and users who will use it.
@hitlab
@hitlab 2 жыл бұрын
Excellent tutorial! Thank you so much. So helpful.
@MrJocyf
@MrJocyf 3 жыл бұрын
Great work, man! Impressive!
@hafeezurramlee3276
@hafeezurramlee3276 3 жыл бұрын
Thank you man !
@madhvendrarathod3152
@madhvendrarathod3152 2 жыл бұрын
Excellent Work Man 💫 I was curious about AR. If like for Marker Based AR which scans the target and places a 3D object or a video playback on it. Is it possible to do WebAR with Unity?
@mchac1
@mchac1 Жыл бұрын
Amazing work! Is it possible to integrate it on SCORM? I mean you use a webxr template and to integrate web app in LMS (Moodle) unity tutorials require a Scorm template, have you ever try it? Thanks
@JustLee-wn5zz
@JustLee-wn5zz 2 жыл бұрын
Hello, I followed this tutorial and mine works! By the way, do you know How to activate AR option? Only VR button is active and AR button is greyed out.
@elenix4082
@elenix4082 2 жыл бұрын
Why mine does not have that AR/VR toggler button?
@mohammadrazakhan3852
@mohammadrazakhan3852 3 жыл бұрын
What If my scene is having XR Rig and oculus hand models. And everything this Is set to XR Related ? When I try to export my scene I get error when I open the Index file in firefox showing Error related to Unity package. When I try to export the Desert scene I didn't got any error. So I got the error because I Have XRRig instead Webxr CamerSet ? Please someone solve my confusion. I'd have WebXr Camera Set instead I have XR Rig which have all my interactable and oculus hand models which is used
@bytech101
@bytech101 2 жыл бұрын
I am getting compiler error? What could be the reason. thanks
@MattPorter0
@MattPorter0 3 жыл бұрын
Great job!! Is this possible to use with navigating the scene with computer keyboard and mouse?
@De-Panther
@De-Panther 3 жыл бұрын
Thanks. Yes, but you'll have to write your own component for that. You'll want to have a combination of moving the WebXRCameraSet GameObject and the MainCamera GameObject
@JamesClarkToxic
@JamesClarkToxic 2 жыл бұрын
I have a scene built with the WebXR Exporter, and with Pixel Crusher's Dialogue System, I'm using a Quest 2. When testing in editor, I can use my thumbstick on my left controller to toggle choices, and the right "A" button to select a choice. However, when I build, it doesn't register any controller input (other than position). Also, is the WebXR Exporter incompatible with the New Input System? I tried to install the Oculus integration, and VR Interaction Framework, which uses the New Input System, and it breaks the project.
@De-Panther
@De-Panther 2 жыл бұрын
No support for the new input system
@JamesClarkToxic
@JamesClarkToxic 2 жыл бұрын
@@De-Panther Thank you for the reply. With that being said, how do I get the build to register my Quest 2's button presses?
@De-Panther
@De-Panther 2 жыл бұрын
@@JamesClarkToxic better use the WebXR Discord or open an issue in the repo. It's all in the WebXRController. There's WebXR Interactions package, which you can look at the code of ControllerInteraction to see how to interact with the WebXRController.
@TopChartsGameStore
@TopChartsGameStore 2 жыл бұрын
i was run this project its showing " webgl using webxrexport%UNITY_WEB-NAME% " . what to do i cant understand. please help me.
@De-Panther
@De-Panther 2 жыл бұрын
use the relevant webgltemplate, for 2020 and up, use the templates that ends with 2020
@vishwahsiva8738
@vishwahsiva8738 3 жыл бұрын
Dude how does AR work in this
@De-Panther
@De-Panther 3 жыл бұрын
The sample scene in this video supports AR. You can also look at the SceneHitTest GameObject to see how to place virtual objects in the real world
@adriantamas
@adriantamas 3 жыл бұрын
Quest Hand Tracking? Haptics for Controllers? Any updates on that?
@De-Panther
@De-Panther 3 жыл бұрын
Quest (and Hololens 2) Hand Tracking - You can see at the start of the video (hands made from tiny boxes). Haptics for controllers - Supported both in WebXR and in the editor. You can test it here - bit.ly/3mSahgG
@mmmshuddup
@mmmshuddup 3 жыл бұрын
Amazing work! but I see nothing in my headset. And I get a warning saying there’s no valid WebXRSubsytem enabled... please help :’( idk what any of this means or how to debug
@De-Panther
@De-Panther 3 жыл бұрын
In the Editor or in WebGL? For the editor - Check your device XR Plugin in the Desktop plugins list. For WebGL- Make sure that WebXR Export is set in the XR Plugin WebGL list
@hiranga
@hiranga 3 жыл бұрын
@@De-Panther This looks really fantastic! I'm trying to understand where to / how to develop an AR experience for WebAR (without need for an App) - do you think you could please clarify this>>> ? >>> I want persistent tracking, hosted to a Marker, so that if the marker goes outside of view, I want the 3d assets to continue showing with the position estimated. I came across Google Model Viewer, which seems to work well, however it does not have Marker tracking to begin the experience, and set the real world scale of the object. I then tried AR.js, but the asset disappears if the Marker goes missing from the scene (unless there is a way of overcoming this???) . Assuming AR.js and Google Model Viewer don't work for me, is Unity AR Foundation the way to do this? I need it to run on WebAR for Android and IOS.. So will this exporter achieve that? Any compatibility issues?
@De-Panther
@De-Panther 3 жыл бұрын
@@hiranga WebXR - Web API that uses the native device VR/AR capabilities. On Android it uses ARCore, on iOS there's currently no support for it. Google Model Viewer - Use WebXR on Android, and uses Apple Quick Look on iOS. AR.js - A library that has it's own algorithm for AR in browser, it works on most of the browsers and devices, depends on the device memory and capabilities. There are other web AR libraries for the web that are not based on WebXR. Unity's AR Foundation doesn't support WebGL at the moment. So currently no WebXR or other web AR libraries support. If you need to run AR on both iOS and Android, and you need both SLAM and Image Marker tracking, there are several web AR libraries that might work, but better do some search for that.
@hiranga
@hiranga 3 жыл бұрын
@@De-Panther oh wow. Thanks so much for your summary >> Okay.
@De-Panther
@De-Panther 3 жыл бұрын
@@hiranga Those are engines / tools. What you are looking for is a web AR library. The comment section here isn't suitable for long discussions. There's the WebXR discord server, you can ask there discord.gg/Jt5tfaM
@RabeeQiblawi
@RabeeQiblawi 3 жыл бұрын
am strugelling with ui input, do you have an idea of how make that work, interaction toolkit solution not working
@De-Panther
@De-Panther 3 жыл бұрын
UI input is a wide subject. Are you asking about casting a ray from the controller to a button on a canvas? If so, attach disabled camera to the controller, and cast the ray from that camera
@ikarosound2504
@ikarosound2504 3 жыл бұрын
Awesome! I followed the guide but when i try it on AR on ios the 2 squared for the eyes are rotated of 90 degrees and if i turn my phone the image not turn as aspected, it is normal? maybe I missing something?
@De-Panther
@De-Panther 3 жыл бұрын
iOS doesn't support WebXR. There are some hacks, but I wouldn't count on them.
@ikarosound2504
@ikarosound2504 3 жыл бұрын
@@De-Panther Ah, thanks for the info!!!
@wanglinda2212
@wanglinda2212 2 жыл бұрын
@@De-Panther Doesn't it run on a webGL page ?
@De-Panther
@De-Panther 2 жыл бұрын
@@wanglinda2212 it runs on WebGL, but it uses the WebXR API which is not supported on iOS
@wanglinda2212
@wanglinda2212 2 жыл бұрын
@@De-Panther Is there any other way?About the WebAR, This is one of the few ways we can use Unity... 😢
@pushthebutton4602
@pushthebutton4602 3 жыл бұрын
How can you add teleporting to this? I would like to walk around.
@De-Panther
@De-Panther 3 жыл бұрын
@MrJocyf made an interaction add-on that works with one of the versions of this package. I hope that he'll create a repo for it soon. He used IJEMIN "Simple VR Teleporter" - github.com/IJEMIN/Simple-Unity-VR-Teleporter More info at forum.unity.com/threads/webxr-advanced-interaction-oculus-blackscreen.978258/
@pushthebutton4602
@pushthebutton4602 3 жыл бұрын
@@De-Panther thank you for this info! BTW do you no anything about multiplayer with WebXR?
@De-Panther
@De-Panther 3 жыл бұрын
It'll be similar to networking/multiplayer in WebGL. Look for libraries/packages/add-ons for Unity that support WebGL
@Aywhatyoudoing
@Aywhatyoudoing 3 жыл бұрын
Import from Unity to Git doesnt work... how to fix?
@De-Panther
@De-Panther 3 жыл бұрын
It should work if it's Unity 2019.4.7 and up. And as you can see in the video, it doesn't show a progress bar. Also, you need to have Git client on your computer docs.unity3d.com/Manual/upm-git.html
@hailelam4112
@hailelam4112 3 жыл бұрын
Help me. How to build run webXR xampp ??
@De-Panther
@De-Panther 3 жыл бұрын
WebXR xampp?
@hailelam4112
@hailelam4112 3 жыл бұрын
@@De-Panther thanks. Project run web vr
How to use WebXR with Unity - January 2024 Edition
28:11
Oren De-Panther
Рет қаралды 7 М.
WebXR APIs and Examples
30:59
WebXR
Рет қаралды 18 М.
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 48 МЛН
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Cool Tool SHORTS Netherlands
Рет қаралды 9 МЛН
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 20 МЛН
WebXR Export for Unity - Controllers update in v0.4.0
15:16
Oren De-Panther
Рет қаралды 3,5 М.
Meta Connect 2022 | Build Great WebXR Experiences
19:33
Meta Developers
Рет қаралды 7 М.
How to get started with WebXR in Unity thanks to Mozilla exporter
25:54
Cutscene in Unity 3D | Timeline in Unity | CG Aura
14:13
CG AURA
Рет қаралды 137 М.
WebXR Tools: Create Immersive AR/VR Experiences Effortlessly With No Code!
18:43
Unity3d WebXR - How To Use WebXR To Build VR Experiences?
6:45
Dilmer Valecillos
Рет қаралды 18 М.
AR.js with Unity: Project Setup Tutorial
12:42
TechStuff AndSuch
Рет қаралды 16 М.
Programming a VR Forklift Simulation in Unity - How it's Done
4:34
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 48 МЛН