Sign In Register

How can we help you today?

Start a new topic
Answered

WebGL build crash when restart scene

I am developing a Unity3D game and I try to port it from Unity Web Player to WebGL.


Everything works fine in the Unity Web Player build.


But in the WebGL build, I get a weird error :


'An error occured running the Unity content on this page. See your browser's JavaScript console for more info. The error was: uncaught exception: Could not send data through WebSocket. '


when I try to restart the scene using Application.LoadLevel(0)


Does anyone know how to fix it?


Best Answer

Hi Chris


This is a unity issue, webGL is not a full unity feature yet so there are always going to be a few issues.

The issue seems to be with explicit exception ,enabling this should work. I found the answer on the unity forums here

Thanks

Katie



Answer

Hi Chris


This is a unity issue, webGL is not a full unity feature yet so there are always going to be a few issues.

The issue seems to be with explicit exception ,enabling this should work. I found the answer on the unity forums here

Thanks

Katie


Thanks a lot!


1 person likes this
Login to post a comment