I got a problem, whenever I connect more than one person to my server it has an error that says
ArgumentException: An element with the same key already exists in the dictionary.
System.Collections.Generic.Dictionary`2[System.String,UnityEngine.GameObject].Add (System.String key, UnityEngine.GameObject value) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:404)
NetworkManager.RegisterPlayerObject (System.String playerName, UnityEngine.GameObject playerGameObject) (at Assets/TheMurderer/Scripts/NetworkManager.cs:17)
NetworkCharacter.Start () (at Assets/TheMurderer/Scripts/NetworkCharacter.cs:11)
How do I fix this? Do I set up a username system or is it possible I could give each player a random number so they don’t cause this error? I don’t want usernames in my game.