I cant reload scenes in unity without code stop working
I am trying to make a molti level 2D game in unity, the problem shows up when u load the scene with a level, then u go to the main menu or complete the level and return to the map, and try to restart the same fisrt level. It also occours with the other levels, when i exit the scene of the first level all the codes inside it stop working and i cant move no more.
I use a button with this code for returning to the main menù from the level pause