Hello there…
I have, yet again, a huge problem. I had some troubles with the Gravestone script.
It all started with an Error:
You are trying to replace or create a prefab from the instance ‘Gravestone’ that contains the script ‘Health’, which is does not derive from MonoBehavior. This is not allowed.
Please change the script to derive from MonoBehavior or remove it from the game object.
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
So I deleted the script, created a new one, but still the same, i restarted Unity and then the troubles began!
So my Problem is, every script in my Project has now this Error of MonoBehavior.
-What caused this?
-How can I prevent this?
-And how can i reset my Project? (I tried to make a hard reset with sourcetree, but that didn’t work either…)
If somebody had the same Probelm and a Solution for it, I would appreciate help.