Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

webgl vr

Discussion in 'WebGL' started by murat-tanrikulu, Aug 28, 2016.

  1. murat-tanrikulu

    murat-tanrikulu

    Joined:
    Feb 23, 2016
    Posts:
    7
    hello. i wonder if webgl support virtual reality. i tried but take some error.
     
  2. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,067
    coverpage and artzfx like this.
  3. murat-tanrikulu

    murat-tanrikulu

    Joined:
    Feb 23, 2016
    Posts:
    7
    i put your project to assets. but it give me arror in consol in unity
     
  4. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,067
    It is not a Unity project but made by a user. If you can't fix the errors yourself try raising the issue on github with the project.
     
  5. coverpage

    coverpage

    Joined:
    Mar 3, 2016
    Posts:
    385
    I'm so stoked about this. Hopefully sooner than later.


    It seems like webgl cannot load in any of the mobile browsers to the memory demand by unity webgl build. Im not sure how to solve this.

    Specifically firefox on mobile which has a webvr add on. You see it trying but it says that it cannot allocate the memory we have defined. However it recognizes that it is a mobile that is vr compatible (the template js handles the VR input and it is supposed to support pc based and mobile based vr. And when it recognizes a vr device, it shows the vr option on the template. And it does in my build using unity).

    Lowering the memory allocation number see the error disappear but the webgl never stops loading.

    Can simple webgl run on mobile at all?
     
  6. BadSeedProductions

    BadSeedProductions

    Joined:
    Dec 26, 2014
    Posts:
    144
    Its not supported but I seem to be able to load simple WebGL app on my Android device.