Every time for every script I have that uses another script It comes back as null reference exception, I have copied and pasted the exact scripts into a different game and had them work, but just not in the current game i’m using.
what program are you using for scripts? if is visual studio, when open the file, look at there.
It must say your project name. if it says Miscelaneous files, it will be “outside” your project.
Better way is:
-copy the script to a notepad
-close Visual studio
-delete the script from unity
-create a new script in Unity with same name
-open the script from unity (it opens Visual studio)
-Paste the script
And look if it says Mikscelaneous files or not