Finally got a WebGL build working!

Hey, thanks to the overwhelmingly positive feedback we got for our game I decided to take another deep-dive into the WebGL probelms we were having with Unity. No exceptions were being thrown in the debug web build, and everything was working in the editor, yet the game just wouldn't start in the web build. Some Debug.Logging later I found out that async code doesn't run correctly in WebGL (perhaps I'm missing something), so I had to replace all our async code with Coroutines instead. And now it works! This doesn't change any of the behaviour of the game (except for making the WebGL build work) so I'd imagine it's fine as per the rules.

"Certain Bug Fixes are allowed. You can’t add new features, but if something broke or didn’t work correctly as you were finishing up, you can fix this after the deadline."

Thought I'd let you know if you're experiencing similar problems. Also, play our game! :smile: Annotation 2020-10-06 004700.png