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.
  2. Dismiss Notice

Question Foundations of Audio Tutorial - WebGL stuck at 90 after Publish

Discussion in 'WebGL' started by artXwill, Jan 13, 2022.

  1. artXwill

    artXwill

    Joined:
    Jan 7, 2022
    Posts:
    2
    I looked over the forums here and couldn't decide which one would be the correct one to post this question in I posted this in the Audio forum, but this may be a better location.

    I'm trying to follow the "Essentials of real-time Audio" tutorial. After publishing the completed project and running it from Unity Play, it gets stuck loading at 90%.

    I've googled this and found the suggestions that compression format be set to Disabled. (It already is.)



    The project runs fine locally if you use "Build and Run".

    Here is the console output of the project: (https://play.unity.com/mg/other/builds-e5-1)


    I am using Editor Version 2020.3.0f1

    When I created this project I used the template "3D Sample Scene (URP)". The tutorial says to use the "URP Template". I assume this is the correct one since it's the only one I see in my template list.

    During a debug attempt, I stepped through the workflow publishing the project at various points. It loads and runs fine with the sample scene that comes with the "3D Sample Scene (URP)" template. I then imported the "Foundations of Audio" asset from the package store. I let it overwrite or replace anything currently in the project. I removed the scene that came with the URP template and open then one from the Foundations of Audio asset. An attempt to publish and run at this point fails before I even add any of the audio.

    Hopefully you can follow what I've done so far and you can offer up suggestions.

    Thanks!
     
  2. Restless_pilgrim

    Restless_pilgrim

    Joined:
    Mar 18, 2022
    Posts:
    3
    Idk if you have already done it but if the original URP scene loads after Build and run, than you have to add new scene in Build settings and uncheck the first one. Then your new scene with audio should run.

    But I had the same problem with all the Unity essentials projects when publishing and every one is now stuck on 90% never loading more. (But after Build and run them all were working on my local host)
    So only one which loaded correctly was the first Essentials of real-time 3D project which had originally the same issue. Idk what's wrong, I've already tried many tips from many forums but still it seems kinda broken...

    So sorry for not helping you, but I just wanted to cheer you up because it's not just your problem. I think it maybe is some bug on the WebGL publisher but really, I don't know.