Hi @leal32b, glad you're enjoying using Colyseus so far!
If you'd like to debug the values from the array, you can use console.log(Array.from(proxy)). You can access and manipulate the Proxy instance just like a regular though, it just does not print properly via console.log().
Docs about the ArraySchema can be found here as well: https://docs.colyseus.io/state/schema/#arrayschema
@endel said in room.OnMessage not registered for Schema message: MyMessage:
room.OnMessage((MyMessage message) =>
Debug.Log("Received Schema message:");
Works perfect, thanks, yes I was reading the documentation, but not well at all.
Found the issue.
SSL was not the problem .Unity client is replacing the existing path in url when joining a room.
Fixed it by adding existing path in CreateConnection method of Client.cs class
UriBuilder uriBuilder = new UriBuilder(Endpoint.Uri)
Path = Endpoint.Path + path, //earlier it was just path
Query = string.Join("&", list.ToArray())
It seem like not only colyseus server is affected:
I created a bug for colyseus to handle this particular error in graceful way and keep clients connected:
I just asked if you can use Spanish. I attach this text if not:
Thanks for the welcome !, and the question was to try to connect from gamemaker. Currently I made a very very basic server in Node but I would like to take advantage of something already made like Colyseus, which is a very good development, congratulations!