I'm struggling with reloadcurrentscene() function. I use it when my player collide with a bullet from my enemy to restart the level at the beginning. However when I test the game the scene did not restart, it freezes at a random position and I can no longer control anything, as my player disappeard. How can I fix this problem?
Note: I created seperate scenes such as player scene and enemy scene and then drag them to my level scene during the desigining level step