Game build to WebGL and stuck at black screen

I build my game to WebGL platform, but when I tested it, the game remained in a black screen state after the Unity icon appeared. There were no obvious errors in the console (there were several warnings). I really couldn’t see any errors that caused the game to go black. How can I solve this problem?

1 Like
  1. Did you test your game on the other platform? e.g. Windows. What is the result?
  2. Is it needed to use Both Input Systems in your project? This is not recommended, at least on Android
  3. Is Auto Graphics API is set to WebGL2?
  4. What is your Unity version?

  1. yes both Windows and Android no problem.
  2. There are indeed two, but there’s no problem at other platforms.
  3. both WebGL2 and WebGL1 I have tried.
  4. 2022.3.30f1c1
1 Like
  1. Try to leave the only input system
  2. Try to update to the latest patch: 2022.3.44 — Download Archive

Is there a way to solve the problem without updating ?Downloading a new one here takes a lot of time .(if not, I will update)

1 Like

This is the first issue solving way you need to practice.

Okay, I will try. Thank you for your answer. If there is any other information,i will tell you
(I am using a translator and may have some issues expressing myself)

1 Like