Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

WebGL game build - First time preview in Unity Play stuck at 90%

Discussion in 'Web' started by Terminator_Aravind, Feb 7, 2022.

  1. Terminator_Aravind

    Terminator_Aravind

    Joined:
    Jul 3, 2021
    Posts:
    1
    Hello Community!

    Hope everyone is fine and safe!

    I am a beginner at using Unity Engine. So, to get my basics strong, I am following the Unity Essentials course. As a part of the "Essentials of Real-Time 3D" project, I was required to create a microgame that was supposed to be uploaded via WebGL and thus made accessible in Unity Play

    Now, the issue is that the game build and local server are working...everything works well. However, when I tried to get a publishable link for uploading it in the Unity play, the first time loading screen freezes at 90% and remains so indefinitely. I tried the following fixes by referring to several threads and discussion forums but in vain.

    • Disabled Compressibility in Player Settings
    • Switched browsers
    • Reduced the intensive textures in the game

    I request the community to please suggest a solution to this impeding issue or point out some relevant threads that might hold potential solutions to my problem. Thank you!

    p.s: Attaching screenshots for the community's reference. I am ready to furnish any additional details as required

    upload_2022-2-8_2-5-52.png
     
    idrisdavies and GeeekyBoy like this.
  2. jtonyhdz

    jtonyhdz

    Joined:
    Jul 31, 2013
    Posts:
    5
    Same problem here. Please let us know if is a generalized or particular issue.
     
    idrisdavies likes this.
  3. sakunix

    sakunix

    Joined:
    Jan 25, 2022
    Posts:
    17
    same problem unity 2021
    upload_2022-2-10_16-24-26.png
     
    Last edited: Feb 11, 2022
    idrisdavies likes this.
  4. GeeekyBoy

    GeeekyBoy

    Joined:
    Feb 8, 2016
    Posts:
    4
    You can follow my tutorial to solve this problem at: https://forum.unity.com/threads/patch-v2021-webgl-player-stuck-loading-fix.1238950/

     
    idrisdavies likes this.
  5. scyjz8

    scyjz8

    Joined:
    Nov 10, 2021
    Posts:
    1
    Project Settings > Player > Settings for WebGL > Publishing Settings
    I changed compression format from 'Disabled' to 'Brotli', and it works on Unity Play (but not work on local)
     
    Dex_Grant and FunGaming2000 like this.
  6. FunGaming2000

    FunGaming2000

    Joined:
    Aug 2, 2022
    Posts:
    1
    Project Settings > Player > Settings for WebGL > Publishing Settings
    For me it worked with the compression format 'Gzip'.


    Credit to scyjz8 :)