Search code examples
javascriptunity-game-engineunity-webgl

Getting error when launching WebGL unity game


I'm trying to compile my unity game to html (WebGL). When I open the game I get this error:

Uncaught ReferenceError: createUnityFramework is not defined
at t.loadCode.Module (B03.loader.js:1)
at HTMLScriptElement.s.onload (B03.loader.js:1)

I'm running the game on xampp local server.

Googled the error, nothing came up. Please help!

**When I do 'Build and run', it's working properly.


Solution

  • Solved the problem by moving to a non-alpha version of Unity.