Assigned scripts are missing after LoadLevel

'Ello!

I am currently developing a third person space shooter game, and i am having some problem with my main menu. The thing is, when i load a level from the main menu (i currently have three levels available to load from the main menu) it works just fine. The level i loaded plays like i want it to, and it works flawlessly.
Now. Here’s my problem. If i load the main menu from the level i loaded, it loads just fine. But, the thing is, alot of my scripts are “missing (Mono script)” from the game objects. The scripts are all left in my assets, and are located at the same places as they were before.

I’ve searched around the web and haven’t found anyone that’ve had the same problem as me. I have no idea why this happens. Any ideas?

TL;DR, when i load a level from the main menu, and then load the main menu from that level, alot of my scripts are missing from the game objects. I have no idea why.

Each time you load a scene, every gameObject that hasn’t been protected by DontDestroyOnLoad() will be destroyed, which includes every component attached to said object(scripts, rigidbodies, audiosources, everything). If you want to go back to a Menu scene without losing your LevelScene objects, look into additive loading, or specify the objects you would like to keep “alive” with DontDestroyOnLoad()

It’s not that simple, but It’s not that complicated!

G