- Home /
Mirror unity: when the server loads the level the server gets disconnected
I'm trying to make an online game with mirror and I've started to work on the lobby, now when the servers starts the game it loads the playable level but for some reason it kicks the server out and sends this error:
"Disconnecting connId=0 to prevent exploits from an Exception in MessageHandler: MissingReferenceException The object of type 'NetworkIdentity' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object."
i am not sure exactly what's the problem so if anyone got some experience with this bug i would apricate the help :)
if you need the code tell me and i will make a repository.
Your answer
Follow this Question
Related Questions
Line Renderer not showing 0 Answers
Multiple Cars not working 1 Answer
Unity can't use the script. 0 Answers
got a weird error/bug 0 Answers
Transform child out of bounds 1 Answer