Skip to content

Matchmaking failure when 2 or more players join together #88

Description

@sarvagya6298

What happened?

I called insert coin on a button click for 2 or more players together if there's no existing room for them to join, all of them start creating a new room and become the host in their respective rooms.

Let's say there are 2 users - so for player 1 the room is fine and it stays like that but for player 2 after room creation by default remove player is called and then that player gets added to player 1 and it works fine for player 1 but for player 2 the game crashes.

Also, there's no room code present in the url for player 2 and it just ends with a #.

To reproduce-
You can simply create a menu scene with a button on click of which lobby scene gets loaded where insert coin is called and on launchcallback i add a player prefab.
Do this for users together at the same time, resulting in failure.

Version

0.0.29

What is your environment?

Unity version 2022.3.43f1, windows , chrome browser

Link to original discussion

https://discord.com/channels/997752993598419044/1128151935669764096/1284933440910786692

Relevant log output

Screenshots message links of discord

https://discord.com/channels/997752993598419044/1128151935669764096/1284933440910786692

https://discord.com/channels/997752993598419044/1128151935669764096/1285188070106468374

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions