Search Unity

Question WebGL fails to build on Ubuntu Studio 21.04 and Ubuntu 20.04

Discussion in 'Linux' started by FuzzyP, Jun 24, 2021.

  1. FuzzyP

    FuzzyP

    Joined:
    Apr 4, 2021
    Posts:
    12
    I'm getting really frustrated about the lack of ability to get a WebGL build to work.

    I found the threads about installing libtinfo5 so I installed it, and it still fails to build.

    I found a thread about needing some dependencies in Python 2, so I installed that as well, already had Python 3, and the build still fails.

    After both installations above, the build process got further, but ultimately failed.

    I don't know what to try next.

    I notice that when I started a new project, the target system was set to the same as my OS, so I wonder if when I start new projects, if I should choose WebGL from the start.

    I tried converting one to WebGL but it still fails.

    Any new ideas?
     
  2. blackbirddev

    blackbirddev

    Joined:
    Jul 23, 2021
    Posts:
    8
    You managed to solve this problem?
     
  3. sfjohansson

    sfjohansson

    Joined:
    Mar 12, 2013
    Posts:
    369
    I'm using webGL builds frequently so they work on Linux, at least on supported distros.
    No need to select WebGL at the start...swapping back and forth is fine.
    Start with an empty project so you know it's nothing in the project itself that doesn't support WebGL, if you haven't done so already.
     
    Last edited: Sep 11, 2023