Does unity support the WebVR API?

I’ll create a little game with WebVR. I’ve found that it use an experimental Javascript API that detect the headset and renders the frames.

I’ve found serveral Javascript libraries like A-frame, React VR and Primore VR. This libraries aren’t easy to create high quality objects with reflections.

Now I think to try Unity for WebVR. Is that possible to use that APIs instead of the default Unity API?
Today I go do recearch if it’s possible or not. I’ll also know if there is anyone that have already done that or not so we could share our experiance.

I come to this question from one year ago posted on this forum and the answer was:

Now I’m thinking does Unity support WebVR *(*now one year later)?

We have done some experiments internally but we don’t support it yet. One of the reasons is that WebVR is still an experimental API.

1 Like

What about now?

Still no.

There’s a way to do it though, has been out for 2 years already, Exporting An Indie Unity Game to WebVR - Mozilla Hacks - the Web developer blog explains GitHub - Boondogl/Unity-WebVR-Template: Enable WebVR exports via Unity 5! Included are a full sample project and an importable UnityPackage. … apparently has been updated to the changed 5.6 unity webgl templates in https://github.com/xirvr/unity-webvr

Are there more people that have tried this out? I feel like this may not be a trustworthy solution. We are currently poking around a-frame instead.

Really wish there was more progress on this front, even if it’s just experimental.

1 Like

OK, it’s 2018 now, any new progress on this? I’m also looking at frameworks and would like a comprehensive assessment of the options available. Is React VR the way to go or does Unity3D play nice with WebVR now?

You may want to check this out: https://discussions.unity.com/t/619563/39