r/UnityHelp • • Dec 02 '22

Mirror Networking Exception Out of Nowhere

3 Upvotes

1 comment sorted by

1

u/101DaBoyz Dec 02 '22

I've been building a basic game using mirror networking for a while now and had no issues. I took a break for a few days and, now coming back, I'm getting this exception thrown for some reason. I haven't altered anything with the project and I wasn't getting this error before.

It occurs when a client tries to connect to the host. The error happens somewhere downstream from the method NetworkServer.AddPlayerForConnection(conn, gameobject); in my custom NetworkManager.

Any ideas why this is happening when it wasn't before?