[Solved] Error when selecting Build and Run on WebGL for Text101

I created the Text101 game in Unity 4.6.3 then opened it in Unity 5.5.1. I cleaned up the game a little and checked that it still worked within the Unity program. I then selected WebGL and Build & Run.

The following error appeared in the console:

Is there any way around this or would I be better off starting a new project since it’s mostly just script anyway?

1 Like

Hello @AKGarland,

The following steps may help;

  • Take a backup copy of your project directory
  • Using Explorer, delete the following directories from within your project;
    • Library
    • Projects Settings
    • Temp
  • Open the project within Unity
  • Create a new, empty scene
  • Build your game again for WebGL

If the above works, you can then remove the empty scene and rebuild.
If you’re still good, delete the backup.

Hope this helps :slight_smile:

1 Like