Player Respawn Not Working Properly

Hello - When I manually click the respawn checkbox in the inspector, nothing happens. I even copied the code for the Player script straight from the discussions attachment. I also followed the video’s instructions of setting the player spawn points in the player script by dragging the player spawn points parent gameobject into the designated public box. Pretty frustrated at this point. Any help would be appreciated.

Thanks

Can you paste the code here? And a screenshot of the inspector of the instance running the spawner?

Not sure why this isn’t working, the link in the inspector continues to exists even after you press play?
Does something gets logged into the console when you press the public bool reSpawn??
Try addressing the playerSpawnPoints manually by adding this to the Start Method:

Start()
{
playerSpawnPoints = GameObject.Find("Player Spawn Points").transform;
spawnPoints = playerSpawnPoints.GetComponentsInChildren<Transform>();
}

I really appreciate your quick response and thanks for fixing the problem! - PROBLEM SOLVED!

-SV

1 Like

Happy to know that it worked