Hi, I just updated some netcode/multiplayer related packages, and can't connect anymore. Running server and client locally using MPPM. Versions are in the attached screenshot. Nothing else in the setup changed, it just completely fails to connect now, with the following error message: [Disconnect Event][Client-0][TransportClientId-4294967296][MaxConnectionAttempts] Connection closed due to maximum connection attempts reached.
#Cant connect after updating packages
1 messages · Page 1 of 1 (latest)
Didn't work, I'd appreciate some help with this.
Are you seeing any other errors in the console? Sounds like the client is timing out when connecting
Thanks for the response. No, no errors. Only the expected disconnection related errors after timing out. Server does not log anything at all so apparently the connection requests aren't even going through or registering server-side. I have been working on only VFX related things in my game recently, and I'm quite sure nothing networking related except those packages have changed recently. I'd appreciate any help even regarding how to start debugging this...
I also tried increasing the timeout duration and number of max tries to connect, no effect.
that sounds like some network issue. try disabling any firewalls
Disabled windows firewall, no effect
are you connecting through Relay or Direct Connection?
Direct, on local machine
That is odd. And you are just using the regular Unity Transport?
yes
That should just work. Have tried connecting with builds instead of MPPM?
Right? I haven't tried builds yet since this project will take a long ass time to build but I guess I'll do that next
Edit: Build did not fix it. Additionally, I realized that i cannot even go to the "Multiplayer Roles" settings menu anymore. After going through more changes in VCS I noticed a file related to this menu had been changed, and upon checking I cannot even enter the menu
Rolling back the changes and updating packages again makes multiplayer break again
Try removing the dedicated server package. I believe that is where the multiplayer roles come from. Weird if any package is causing this issue
I can't simply remove it, game logic is dependent on it and multiplayer roles
Then downgrade just that package. Might have to submit a bug report if updating it breaks things
It's only getting worse
lmfao
Nevermind that was from updating packages with MPPM open which is directly not even supposed to be supported
This whole issue seems to be stemming from Unity Transport package. Updating from 2.6.0 to 2.7.2 breaks connection, downgrading only that single package fixes everything.
From the changelogs alone I don't think there were any breaking changes that could be amended with code on my side somehow, I'm just gonna stick to downgrading the package and maybe submitting a bug report.
Huh, that's interesting.
I asked for more details on your thread there, but if you prefer to continue the discussion here that's fine too.
One thing I forgot to ask and don't see mentioned here, what's your editor version?
Responded to the rest of the questions on the discussion, but the editor version is 6000.4.0f1