Hi,
I'm trying to use websocket-sharp for a Unity project on WebGL.
It's working well when I make an executable for Windows but when I export in WebGL and launch it, it give me the following error:
Invoking error handler due to uncaught exception: abort(92) at jsStackTrace (FeranGateWebGL.asm.framework.unityweb:2:27460)
I attempted to make the most basic program to reproduce the error so I did the following:
Compiling the dll and putting it in a "Plugins" folder
Having a script with this code:
`using UnityEngine;
using WebSocketSharp;
public class NetworkScript : MonoBehaviour {
private void Start()
{
WebSocket ws = new WebSocket("ws://IP:PORT/msg");
ws.Connect();
}
}
`
So well if someone have an idea I would really appreciate :)
Thanks in advance,
Hi,
I'm trying to use websocket-sharp for a Unity project on WebGL.
It's working well when I make an executable for Windows but when I export in WebGL and launch it, it give me the following error:
Invoking error handler due to uncaught exception: abort(92) at jsStackTrace (FeranGateWebGL.asm.framework.unityweb:2:27460)I attempted to make the most basic program to reproduce the error so I did the following:
Compiling the dll and putting it in a "Plugins" folder
Having a script with this code:
`using UnityEngine;
using WebSocketSharp;
public class NetworkScript : MonoBehaviour {
}
`
So well if someone have an idea I would really appreciate :)
Thanks in advance,