Hello, newbie to this framework, just downloaded it today.
I've tried setting this up on the online game I'm currently developing. I've set up the server and client correctly, I think, because when I run them locally they can talk to each other no problem. They work if I run them within the editor, and they also work if I build the server and client separately, then launch the two Windows executables.
However, when I build and launch the WebGL build of the client, things don't work anymore as I get that error. I'm not really sure what I'm doing wrong here, or if this a framework bug.
Server is set up with a single object holding a MasterServerBehaviour. Client connects to it with the following line:
Msf.Client.Connection.Connect(_addr, _port);
No Msf object is actually created by the Client. I'm not even sure it's the right approach, but from what I could understand the Msf class handles that for me so it shouldn't (?) be necessary. The game actually works with executables, so I don't think it's the problem.
I downloaded this library precisely because I need a framework that makes executable AND WebGL builds work seamlessly. Is there a solution to this problem?
Hello, newbie to this framework, just downloaded it today.
I've tried setting this up on the online game I'm currently developing. I've set up the server and client correctly, I think, because when I run them locally they can talk to each other no problem. They work if I run them within the editor, and they also work if I build the server and client separately, then launch the two Windows executables.
However, when I build and launch the WebGL build of the client, things don't work anymore as I get that error. I'm not really sure what I'm doing wrong here, or if this a framework bug.
Server is set up with a single object holding a MasterServerBehaviour. Client connects to it with the following line:
Msf.Client.Connection.Connect(_addr, _port);
No Msf object is actually created by the Client. I'm not even sure it's the right approach, but from what I could understand the Msf class handles that for me so it shouldn't (?) be necessary. The game actually works with executables, so I don't think it's the problem.
Stacktrace:
I downloaded this library precisely because I need a framework that makes executable AND WebGL builds work seamlessly. Is there a solution to this problem?