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.

UnityException: Build Target "WebGL" not supported

Discussion in 'Getting Started' started by marcocod, Oct 24, 2021.

  1. marcocod

    marcocod

    Joined:
    Oct 24, 2021
    Posts:
    2
    I'm new with Unity and I'm trying to complete the tutorial of the LEGO microgame. The step is to build and publish the game, but when I click on button "Build and publish", after about 1 minute the waitbar disappears and I noticed that on bottom appears (in red) the message:

    UnityException: Build Target "WebGL" not supported

    I installed the version of Unity 2020.3.21f1 LTS and I added the module WebGL build support (that is also the only module I have with the documentation one).
    How can I solve this problem?
    I need to install some other module?
     
  2. marcocod

    marcocod

    Joined:
    Oct 24, 2021
    Posts:
    2
    I tried to reboot the pc and it worked.
    Probably after installing the module you have to reboot the pc.
     
    OldSalt709, mimimimimi19 and Migs_f like this.
  3. JahaanP

    JahaanP

    Joined:
    Apr 11, 2020
    Posts:
    1
    I had the same problem, thanks marcocod
     
  4. World-of-Aldii

    World-of-Aldii

    Joined:
    Mar 4, 2022
    Posts:
    1
    this worked for me!
     
  5. artfrenzie5

    artfrenzie5

    Joined:
    Apr 15, 2021
    Posts:
    1
    Thanks for sharing. I've been having the same problem.
     
  6. rytirpetr12363

    rytirpetr12363

    Joined:
    Oct 20, 2021
    Posts:
    1
    Closing the project and in terminal writting "sudo apt-get upgrade" then "sudo apt-get update" and relaunching the project fixed the problem for me.
     
  7. authentic243

    authentic243

    Joined:
    Jan 24, 2023
    Posts:
    1
    Bonjour je suis nouveau sur unity et je suis entrain de finir mon didacticiel sur le FPS game et pour la parie publication je remarque une erreur

    UnityException : la cible de génération "WebGL" n'est pas prise en charge