Search Unity

  1. New Unity Live Help updates. Check them out here!

    Dismiss Notice

Feedback Deploying AR to WebGL

Discussion in 'AR/VR (XR) Discussion' started by eco_bach, Mar 1, 2019.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,407
    Hi
    I am being tasked with building an AR portal application that will work on both iPads and the web via a url.

    I was wondering if it might be possible to build using the new AR Foundation framework (which I believe uses both ARCore and ARKit under the hood) to deploy to iOS

    and then export to WebGL for viewing on the web.

    Has anyone tried exporting a AR app to WebGL.
    A search turns up this thread
    https://forum.unity.com/threads/ar-foundation-and-webgl-i-know-its-not-support-just-read.626374/
    but unclear whether AR features are actually retained when exporting to WebGL.

    Can anyone offer feedback?
     
    Last edited: Mar 1, 2019
  2. mhartz

    mhartz

    Joined:
    Nov 7, 2014
    Posts:
    1
    Short answer is that you can't. You can use ARJS, where you will need to write the code by hand in threejs or aframe. Another (not free) option would be to use PlayCanvas, which is a web-based tool like Unity. The problem is that tracking is weak and requires a marker. The last option would be to use another framework like 8th Wall, but that costs at least $1350 a month to host but works well and is markerless, however you will still need to program the code in some way whether it is threejs, aframe, PlayCanvas, Sumerian, etc.
     
unityunity