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.

2D Plataformer Microgame Tutorial Error

Discussion in 'Getting Started' started by Shafla, Mar 7, 2021.

  1. Shafla

    Shafla

    Joined:
    Mar 7, 2021
    Posts:
    2
    I am new to unity, and I started with this. When I finished, and I try to put in the last step: Publish> WebGL Project> Create New WebGL Project. It gives this error.



    I already tried 3 times and nothing. Please help >.<
     
  2. juliocarreno22

    juliocarreno22

    Joined:
    Mar 8, 2021
    Posts:
    2
    the tutorial also crashes at this point. i'm going to trouble shoot and persist. i'll come back if I found something.
     
  3. Shafla

    Shafla

    Joined:
    Mar 7, 2021
    Posts:
    2
    Thank you, in a way it is an advance to know that it is a general problem and not only with me
     
  4. juliocarreno22

    juliocarreno22

    Joined:
    Mar 8, 2021
    Posts:
    2
    K. I got it to work. Kinda.

    (Image attached for some clarity)
    1. opened File>Build Settings
    2. Selected PC, Mac & Linux Standalone
    3. Clicked "Switch Build"
    4. Clicked Build
    5. Created a folder for the project to save to

    from there, the system starts compiling the project. AND SAVES.

    clearly this doesn't fix the -WebGL- error.

    However, I did find a Large Pile of Steaming SATISFACTION, when it didn't crash Unity.

    hope this works for you. Capture.PNG


    ----EDIT----
    By creating a folder in my Download folder, WebGL started compiling.
    it did appear to freeze. don't panic, it really does take a long time to compile for the first time.
    don't be hasty and close it right away. give it 10-15 minutes before you start considering rebooting or closing out Unity.
     
    Last edited: Mar 10, 2021