Reputation: 33
Ever since i open my project in unity today every script existed/Created have been given me
Error cs2001 source file "ScriptName.Cs" could not be found
I have reinstalled Unity, Tried Updating it and even created a new project. Still same outcome.
Ever time i tried attached my scripts to a object, it's have given me the error
Can't add script behaviour VisualContainerAsset",Can't Add Script "The script needs to derive from MonoBehaviour!"
Here is some pics how it's looks after i create a C# Script.
Sorry if i sound a bit confused!
UPDATE!:
Upvotes: 0
Views: 1190
Reputation: 33
Malware Bytes was the problem, it would't allow mono developed.
Upvotes: 1
Reputation: 89
Could you show me one of the scripts? Maybe it misses some of the imports (using UnityEngine;) at the top. Or maybe they don't inherit from MonoBehaviour (classname: MonoBehaviour). It's strange nonetheless...
Upvotes: 0