#Cant connect after updating packages

1 messages · Page 1 of 1 (latest)

ornate monolith
#

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.

#

Going to try to delete and rebuild lib folder for now

ornate monolith
#

Didn't work, I'd appreciate some help with this.

static siren
#

Are you seeing any other errors in the console? Sounds like the client is timing out when connecting

ornate monolith
# static siren Are you seeing any other errors in the console? Sounds like the client is timing...

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.

static siren
#

that sounds like some network issue. try disabling any firewalls

ornate monolith
static siren
#

are you connecting through Relay or Direct Connection?

ornate monolith
static siren
#

That is odd. And you are just using the regular Unity Transport?

ornate monolith
#

yes

static siren
#

That should just work. Have tried connecting with builds instead of MPPM?

ornate monolith
ornate monolith
#

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

static siren
#

Try removing the dedicated server package. I believe that is where the multiplayer roles come from. Weird if any package is causing this issue

ornate monolith
#

I can't simply remove it, game logic is dependent on it and multiplayer roles

static siren
ornate monolith
#

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.

static siren
#

Huh, that's interesting.

light yarrow
#

One thing I forgot to ask and don't see mentioned here, what's your editor version?

ornate monolith