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

Multiplayer Sessions API Matchmaker with Multiplay wont finish connecting. #3159

Open
MilkyChestnut opened this issue Dec 7, 2024 · 1 comment
Labels
stat:awaiting triage Status - Awaiting triage from the Netcode team. type:bug Bug Report

Comments

@MilkyChestnut
Copy link

MilkyChestnut commented Dec 7, 2024

Description

Using the Multiplayer Sessions API to matchmake and initialize a multiplay server doesn't finish connection.
The Matchmaker successfully gets multiplay to create the server, the matchmaker seems to create tickets and match fine, and the allocated server tells me even that a player is connected.

However on the client side, the client is successfully able to connect to the session and its Unity Transport updates with correct information from Multiplay, however none of the other services seem to fire off. Lobby and NGO dont fire off any events, and after around 60-70 seconds the Transport reports the error of "Failed to Connect to Server"

Reproduce Steps

  1. Extract and Open the Example project below in Unity (ProjectCrown.zip)
  2. Build out a Dedicated Linux Build and upload to Unity Cloud MulitPlay
  3. Setup config and fleets (I just used the default Launch parameters)
    -nographics -batchmode -logFile $$log_dir$$/Engine.log -queryPort $$query_port$$ -queryType $$query_type$$
  1. Setup matchmaker with the build and set the queue name to "TestQueue"
  2. Switch the build config back to windows, press play, and click the QuickJoin

Actual Outcome

The console log reports the SessionConnecting as joining, and then to joined, logging the Session.

However NGO2 or lobbies or any of the other services wont fire, after 60-70 seconds, the transport will report an error of not connecting

Expected Outcome

The console reporting that its joining briefly, and then setting to joined. NGO and lobbies boots up, causing the GameManagerNb to network spawn and show the cube.

Screenshots

Image
(Server fully initializing)

Image
(Image showing the debug polling showing the client trying to connect, and then connecting)

Image
(Error regardless of connecting.)

Image
(Unity transport settings correctly being set to the multiplay settings)

Environment

  • OS: Windows 11 Home24H2
  • Unity Version: Unity 6000.0.29f1
  • Netcode Version: 2.1.1
  • Multiplayer Services: 1.0.2
  • Dedicated Server: 1.3.2
  • Netcode Commit:

Additional Context

ProjectCrown.zip

@MilkyChestnut MilkyChestnut added stat:awaiting triage Status - Awaiting triage from the Netcode team. type:bug Bug Report labels Dec 7, 2024
@MilkyChestnut
Copy link
Author

Still an issue I've been unable to figure out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting triage Status - Awaiting triage from the Netcode team. type:bug Bug Report
Projects
None yet
Development

No branches or pull requests

1 participant