Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

WebGL not working with Pipelines

Discussion in '2018.1 Beta' started by Deleted User, Mar 8, 2018.

  1. Deleted User

    Deleted User

    Guest

    I've tested with both the Lightweight and HD pipelines and WebGL has some apparent issues with each. The Lightweight pipeline can build (used the sample scene); however, the only item that appears in a webgl build (2.0 or 1.0) is the skybox even if there are other objects in the scene in view of the camera.

    The HD pipeline doesn't build WebGL at all (though I'm not sure its supported). It crashes with the error
    IndexOutOfRangeException: index (3) must be less than the number of random write targets (0)

    Does either pipeline work with WebGL? Or am I missing something?
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,225
    Hi. HD will not work with WebGL there is not enough support in the webgl api for the features that it needs. LW in theory should work, it has not been through our testing process yet though as we want to focus on mobile / PC to start with.
     
  3. phil_lira

    phil_lira

    Unity Technologies

    Joined:
    Dec 17, 2014
    Posts:
    584
    Hi,

    At the moment neither pipeline support WebGL.
    We are looking into add WebGL support to Lightweight in 2018.2. As for HD it won't support WebGL.