Search Unity

Tiny VS WebGL

Discussion in 'Project Tiny' started by newguy123, Jan 6, 2020.

  1. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    251
    I've been tasked to output our Unity project to Web for all devices and browsers

    Unity's WebGL features/compatibility to my shock, is horrific.

    I don't know enough of either to make an infomred decision either way.

    Currently the project I built to WebGL, works fine on desktop, but only with certain browsers. In Android I get a warning that Unity WebGL doesnt work with Android, but after pressing ok, it partially loads the app. On iOS it says graphics apis not supported

    Is Project Tiny suppose to replace the build to WebGL and work better?

    Seems Unity have not updated anything "WebGL" in some years!
     
    EvOne likes this.
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,202
    I've happily deployed a Universal pipeline build last night in 2020.1 and it worked so I suspect Unity do work on it. Tiny is being absorbed into DOTS mainstream.

    Mobiles do not typically run WebGL content well unless high end mobiles. This isn't Unity's fault though. If I was doing a 2D application for web mobile I would probably just stick with Tiny/Dots.

    The sticky here: https://forum.unity.com/threads/pro...y-racing-preview-3-020-0-is-available.792999/ represents the current state of affairs. Does it run well on your phone?
     
  3. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    7,235
    Only Tiny is only available in 3D at the moment?
     
  4. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,202
    All of it is 3D yes but performance wise you would want to use quads / keep GPU work to a bare minimum for phones. It better suits '2D' games for web if targeting a mobile.
     
  5. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    251
    Could you clarify a bit for me please? You've deployed a URP app with 2020.1....... you mean using WebGL, or do you mean using Tiny?

    Our AEC app needs to work on all platforms including mobile, without the user needing to install anything. So something web based I geuss.....

    We'll be exploring models with simple pan/orbit/zoom navigation and some models will have minor interactivity like parts spinning or opening closing. Imagine mechanical objects in exploded view, or architectural models with roofs flipped open to see indside, or product configurators etc
     
  6. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,202
    Sorry - I deployed with WebGL. How good or bad WebGL is depends on the customer's browser. I'm not the best person to be asking about this - you should test Tiny and also test WebGL/URP.
     
  7. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    7,235
    I don't think Tiny has animation yet so you will probably need to write code to animate the parts.

    Also depending on your projects timeline you might want to wait until the Tiny roadmap is revealed later this year and factor in its current level of features and it's roadmap features. Also taking into account the pre-alpha nature of an in development technology platform that will probably change over time and have bugs.
     
  8. tonialatalo

    tonialatalo

    Joined:
    Apr 23, 2015
    Posts:
    27
  9. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    48
unityunity