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

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

2 Likes

Same problem here. Please let us know if is a generalized or particular issue.

1 Like

same problem unity 2021

1 Like

You can follow my tutorial to solve this problem at: https://discussions.unity.com/t/871599

1 Like

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)

2 Likes

Project Settings > Player > Settings for WebGL > Publishing Settings
For me it worked with the compression format ‘Gzip’.

Credit to scyjz8 :slight_smile: