Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question No WebGL build function in 2020.3.48f1

Discussion in 'Web' started by mikeah21, Oct 8, 2023.

  1. mikeah21

    mikeah21

    Joined:
    Sep 29, 2023
    Posts:
    2
    Howdy, I'm new to the Unity dev world and am unable to build a project in WebGL. A windows version was built successfully, then switched platform after selecting WebGL--the Build and Build and Run buttons are grayed out. How to ungray them so that I can build the project in WebGL?
     
  2. mikeah21

    mikeah21

    Joined:
    Sep 29, 2023
    Posts:
    2
    There is a warning above the build button that says "In order to build a player, go to Player Settings...to resolve the incompatibility between the color space and the current settings." And I figured it out...thank you!
     
  3. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    974
    Unity 2020 is out of date, and it's not officially supported. Please use Unity 2021.3 at least.
     
  4. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,028
    Actually for WebGL you want to be on the latest LTS, if not the latest tech stream because the backend tech is making great strides in recent years.

    And be sure to use URP if you are serious about targeting webgl as the main platform, as it will be a lot faster.