The associated script can not be loaded

I was completing a challenge set by Rick and I had Serialised different variables and saved everything but nothing was coming up in the inspector. I decided to reload unity but when it reopened all my gameobjects said there were missing scripts. This scripts are all still there but say they have no Monobehavior or a changed name yet it is all the same as before. Looked around the internet but found nothing that can help me with my specific situation.

image
image

As an example, my Enemy.cs script:


image

Sorry about that, I was just able to fix the problem: When I closed everything down I had an error in one script so It caused none of my scripts to load properly. All fixed now :slight_smile:

Good job, Froggy! :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms