Hello, I keep trying to create multiplayer respawn script, here is the script: Code (csharp): function OnTriggerEnter (other : Collider) { if (other.gameObject.tag == "Bullet") { gameObject.transform.position = GameObject.Find("BlueSpawn").transform.position; gameObject.transform.rotation = GameObject.Find("BlueSpawn").transform.rotation; Destroy(other.gameObject); } } I attached this script on player and when the bullet prefab trigger collides with player it says the following errors: NullReferenceException RespawnerBlue.OnTriggerEnter (UnityEngine.Collider other) (at Assets/Cubes/RespawnerBlue.js:4) My bullet prefab has trigger collision and player has normal collision but it's still not working, please help me! (this is my last step for a multiplayer game so I'd like to finish it) Thanks!
It's basically saying it can't find "BlueSpawn" so it's returning a null. That's assuming your line numbers were copied properly.