Hi there,
I am wondering if Unity currently supports Oculus, Vive or some VR device using WebGL or if there’s a way to do VR using Unity and WebGL.
Thank you !
Hi there,
I am wondering if Unity currently supports Oculus, Vive or some VR device using WebGL or if there’s a way to do VR using Unity and WebGL.
Thank you !
Not at the moment. We have done some initial investigation and we will likely implement it at some point in the future, but this is not on our short term roadmap.
Thank you for your answer @Marco-Trivellato
Hello Unity team, can you specify when this would be approximately implemented?
I’m searching for a solution to build a Cardboard VR project from Unity (WebGL Target)…Or maybe there is already a Web GL / WebVR Cardboard solution that I just did not find yet? Thanks in advance.
Today, it is possible to use WebVR in Unity using this plugin: https://github.com/gtk2k/Unity-WebVR-Assets
In the future, we will have WebVR support integrated into Unity WebGL, so that Unity VR projects will work without modifications. We have a working prototype of this, I expect this to ship in Unity 5.6, or maybe 5.5.
That said, since you mentioned Cardboard, I assume you want to target mobile phones. Due to performance and memory constraints in Unity WebGL, this is currently not recommended or supported. You can still try it, but expect results to be unsatisfactory.
Hi Jonas, thanks for the fast reply! I will check the github solution.
Any updates? Is there anywhere I can go to follow the development of this?
No updates yet. This will not be in 5.5, possibly 5.6.
That said, I think this feature will stay in an “experimental” state for a while to come. Not because WebVR doesn’t work by itself (it does), but because the tech stack of the WebGL platform is, IMO, not ready to drive VR content yet (outside the realm of simple demos). VR requires consistently high frame rates with no hick-ups - but on a platform without threads, it is not possible to achieve that during the load of scenes for instance. So we will need other problems solved first before being able to use this for real production content. That said, I think there is value in having the feature available to experiment with before that.
Hi Jonas, just wanted to ask if you have any updates on WebVR with WebGL. I have a lot of projects that are pending on this and some colleagues are considering to migrate to PlayCanvas (such a waste of time and resources).
Thanks,
Diego
Unfortunately this will not ship in 5.6. Chances are it will be part of Unity 5.7 as an experimental feature.
But the limitations of WebVR in general still apply as laid out above.
Great thread here, thanks for the clarifications and the link to the repo.
Does anyone know how good the controller support is with the current third party solution? Can I expect Vive compatibility? I tinkered with it a while back and I remember the (old DK2) headset worked incredibly well.
Thanks!
I don’t think it has controller support - but it would be possible to implement that in JavaScript yourself.
Looks like the future of web is also in Unity. Unity is more than gaming engine now…powering businesses
Im trying to understand whats the difference between VR and 3D, they both seems to be the same to me, except VR wants to you spend money buying goggles and controllers, memory and CPU, to get the same thing we had before using 3D.
try AR if you don’t want to spend money
Whats the difference between VR and 3D?
Hi Jonas, any updates on this?
WebVR support was not included in 5.6 u.u is it in 2017.1? or is it going to be in 2017.2?
I’m currently working on a project in which building for WebVR is almost mandatory. I’m about to test with the project you suggested (GitHub - gtk2k/Unity-WebVR-Assets: UnityでWebVRに対応したWebGLビルドを行うテンプレートおよびアセット), but nothing like having a Unity integrated tool for doing it.
I really think WebVR is going to have a key role in game development in the years to come so I hope (and I’m almost sure) building for WebVR natively from Unity is going to be possible very soon.
Thank you in advance.
It will not be in 2017.1 and probably also not in 2017.2.
But it will be fur sure, right? next year maybe?
It is probable but usual disclaimer: predicting the future is tricky business.