Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

How to run uNET (Unity Networking) Host Server for WebGL build - Unity 5.3.4f1

$
0
0
So I have a game that I want to export to WebGL. It uses Unity's latest networking solution uNET (Unity Networking) and I've selected the *use websockets option. Currently, WebGL clients cannot be a server. Thus in order to host a game, I am doing it when I run the game through the editor. Then in the browser, I can join the game as a client. So obviously I don't want to leave my computer on to be the host through the editor while people in the web join as clients. I'm thinking that I should build the game in standalone and run the standalone game on some server and join the game as host. Then of course I leave the server on 24/7 so anyone can join through the web. But I have no idea how to accomplish this (i.e. what services to use) or if this is even the right approach.![alt text][1] [1]: /storage/temp/70926-unitywebglbuildgame.png

Viewing all articles
Browse latest Browse all 2390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>