Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colyseus - "Cannot read properties of undefined (reading \'processId\')" #34

Open
ZenSoftware opened this issue Feb 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ZenSoftware
Copy link
Owner

Currently there are some problems connecting to the Colyseus server after migrating a bunch of networking working code from another project into this project to get Colyseus integrated with all the code generation pre-configured for the users of this starter kit.

This is not breaking the project, but it would be nice to have the full stack of networking solutions complete and working. It works in my other project...

This line should connect the player to the game server.

ColyseusRoom<Colyseus.MyRoomState> room = await NetworkManager.ColyseusClient.JoinOrCreate<Colyseus.MyRoomState>("MainRoom");

The response from the server I am getting is:

"{\"code\":4213,\"error\":\"Cannot read properties of undefined (reading \'processId\')\"}"

I'll update this issue when the problem has been resolved.

@ZenSoftware ZenSoftware added the bug Something isn't working label Feb 9, 2024
@ZenSoftware ZenSoftware self-assigned this Feb 9, 2024
@ZenSoftware
Copy link
Owner Author

72aaeff Just reverted from @colyseus/core v0.15.25 to v0.15.15 which seems to resolve this problem for now. I'll take a closer look into why the newest version of Colyseus seems to fail to connect users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant