Cannot find script class of scripts with no errors.

I’ve been running into a really annoying problem with Unity lately. Scripts that are bug free and have the file name and class name matching suddenly stop working. This applies not only to scripts that I’ve written myself, but also scripts downloaded from the asset store. I’ve got no clue what causes this problem, but if anyone else has run into this issue before, and knows how to fix it, please let me know.

What does it mean? Details? What are you trying to do? What errors you see? Why do you think they “don’t work”?

1 Like

Sounds like something is not compiling. Make copy of your project folder without Library subfolder, open it with Unity and try again.

I found a post which has the same problems as mine, but there’s no definite solution as far as I know. The description there is better than I can give.

What does it say in the console?

The problem stopped showing up. I’m not sure what I did to fix it, but it’s been a couple days and I haven’t run into the problem again.