Multiple Network Managers detected in the scene + Destroying assets is not permitted to avoid data Loss.
I am working on a multiplayer PVP game. I have written my own network manager-script. Which is quite big. So don't know if I should attach it here. The problem is I assume unity does not create multiple network managers for each client connection. And I have one network manager game object which contains my user's own Game manager-script. But on running the game and connecting the error mentioned in the question keeps popping up. I know prefab assets added in the inspector cannot be destroyed. I looked into the options where people told me to instantiate the prefab. But the object which the network manager is trying to destroy is the network manager itself. I haven't written any code to instantiate the network manager. Any help would be appreciated.
Your answer
Follow this Question
Related Questions
I'm getting an error: "AudioClip can't be deserialized because it has no default constructor" 1 Answer
How to make Server Side Bots in Mirror? 1 Answer
NetworkBehavior OnSerialize fail for Component XXXX 0 Answers
Attribute being assigned on server but not client - Mirror. 0 Answers
Unity Mirror networking take damage 0 Answers