Is it possible to have normal (pc/mobile) clients and WebGL clients connect to the same game?
I’m new to Unity and just using the built-in NetworkManager and NetworkManagerHUD components for multiplayer. If I select “Use WebSockets” from the NetworkManager on the host, I can connect WebGL client to a game hosted from Standalone, but other stand alone or android clients cannot join that same game. Is that even possible or am I doing something wrong? What if I try doing this?:
(This script is attached to the NetworkManager)
using UnityEngine.Networking;
using UnityEngine;
public class CrossGLSupportAriel : MonoBehaviour {
void Update() {
NetworkManager.singleton.useWebSockets = !NetworkManager.singleton.useWebSockets;
}
}