#Server seems to stop on error even with this unchecked, what do I do?
14 messages · Page 1 of 1 (latest)
That only applies to errors in message handlers, and if enabled kicks the client, doesn't kill the server. Put full error stacktrace in https://pastie.io/ so we can see what's actually happening.
I'm getting the following:
Disconnecting connection: Mirror.LocalConnectionToServer because handling a message of type Mirror.RpcMessage caused an Exception. This can happen if the other side accidentally (or an attacker intentionally) sent invalid data.
This is with "Exceptions Disconnect" disabled. But the server looks to be disconnecting itself and stopping
https://pastie.io/iajmna.tex
this is the full stacktrace
and it's latest release from the github actually, my bad
I'll check these out
I'll probably comment this stuff out, I guess
Your error is a null ref exception in Assets\Other\Scripts\ProcGen.cs:13 - fix that or wrap it in a try-catch.
You can see that we check exceptionsDisconnect right there in your image.
The Network Manager setting is applied to NetworkServer and NetworkClient at startup in SetupServer and SetupClient
Changing the Network Manager setting at runtime by code or the inspector after that does nothing...it has to be set at design time.
The network manager setting was set at design time, in the inspector. It looks like something changed it back? Or it wasn't saved (not marked dirty?)
I'll do more testing, and then create an issue on the GitHub if I can't get it to apply
Yes I know whats causing the error, I caused it intentionally. I just want all errors to always be ignored
It was the case in the previous version before I upgraded and I found it really convenient for debugging 😁