joker-119 / AdminTools

3 stars 56 forks source link

SpawnDummyModel does not work in SCPSL 11.0 beta version. #13

Closed Pro845627 closed 3 years ago

Pro845627 commented 3 years ago

Throws ArgumentException : The object you want to instantiate is null... It may cause of this line: GameObject gameObject = UnityEngine.Object.Instantiate(NetworkManager.singleton.spawnPrefabs.FirstOrDefault(p => p.gameObject.name == "Player")); “Player" is no longer available :( thx northwood

Pro845627 commented 3 years ago

I traversed spawnPrefabs, there should be no player prefabs in it.

joker-119 commented 3 years ago

this is the wrong repo to put this on