- Home /
Uploading webgl version of the game error
Hi,
So I've been trying to upload a playable in browser version of our game and I keep coming across this particular error. The game loads up fine, the title screen and level select screen work, however as soon as I try entering the main gameplay level, this error pops up:
I have been trying to find the solution, and I looked up Emscripten and it seems really complex to my understanding. (It is a unity 2D game and works fine on desktop (macos or windows) builds)
Answer by Rarceth · Jul 01, 2020 at 05:09 AM
A bit late, but I have found that this can happen from a null reference occuring in the build. When building for web, you really want to try and get rid of every single error thats occuring, even the seemingly okay ones.
Your answer
Follow this Question
Related Questions
WebGL on Firefox Linux displays InvalidStateError,WebGL on Linux Firefox displays InvalidStateError 0 Answers
BCE0005: Unknown identifier: 'spriteRenderer'. 2 Answers
Unity freezes when I add a special script 1 Answer
It is not possible to invoke an expression of type 'UnityEngine.GameObject'? 1 Answer
Boolean Errors 2 Answers