Application.LoadLevel(Application.loadedLevel); wont work While checkpoints are on

Hi guys, I’ve been working on a 3d platform game for about a month know and one of the problems that has frustrated me the most is that that Application.LoadLevel(Application.loadedLevel); works when my checkpoints are off. But when they are on it tends to work only when it feels like it not every time the player dies. Some advice would be great thank you.

you add the scenes in build setting then its working. without adding scene it’s not working.

You can try SceneManager.LoadScene ,

It works totally fine without checkpoints, but when checkpoints are on , it only works when it wants to. Such as i die 3 times it wont work but then the next time i die it works.Or vice versa it works 5 times in a row and the next time i die it doesn’t work. I’m not calling it in update.