- Home /
I can't use any of my scripts for some reason because they have all lost their monobehavoir for some reason (and no I didn't rename them there's something wrong with the file)
when ever i make a new scripts there for some reason a chance fore it to break all of my other scripts making it so they display this error message "no monobehavoir or name found in files"
I've also tried reimporting but that's not working either
are you using visual studio? is set visual studio in the preferences menu? have you imported the visual studio in the package manager?
I had this problem once and it was because I was missing a semi colon in one file. might be wrong though
no I don't think its that because they all simontanolsy changed at one times so I had to restart
GUYYYYYYYS!!!!! I've found the solution I think its because it has something to do with rena$$anonymous$$g the project file or something cam not sure but what I had todo was go in to Visual Studios and click on the name you know how its like file name assets scripts e.g e.g well I clicked the top one and clicked rebuild which made it fix my scripts, how I found out well it happened again so I was just messing around at this point
Answer by dr-Eggs · Apr 25, 2021 at 01:56 PM
GUYYYYYYYS!!!!! I've found the solution I think its because it has something to do with renaming the project file or something cam not sure but what I had todo was go in to Visual Studios and click on the name you know how its like file name assets scripts e.g e.g well I clicked the top one and clicked rebuild which made it fix my scripts, how I found out well it happened again so I was just messing around at this point