If you have not went so far, you can make a new project and copy required assets from old project. don't copy the scripts, rewrite them, as they caused the error.
Also, post the photo of full scripts so that people here can take a look at complete script.
Answers
Are you using at the top:
using UnityEngine.SceneManagement;
i write it
Is the scene not loading?
yea
i will try to make another project
No, never leave a project in mid way.
There will be a solution for it and we will find it
it maybe due to a virus
If you have not went so far, you can make a new project and copy required assets from old project. don't copy the scripts, rewrite them, as they caused the error.
Also, post the photo of full scripts so that people here can take a look at complete script.
i have write the restart method in the top an d it works
😁
Great, congrats.