All of a sudden "ClothRenderer" could not be found.

I am currently on Version 5.1.1f1 (2046fc06d4d8) Personal.

I was using it fine before, but encountered an error and was hoping upgrading would help resolve, but it ended up causing more problems.

Now this type isn’t known at all after I have been using it normally. Also, for some reason some scripts don’t even work at all now. They are custom scripts as well. Everything worked perfectly fine.

I am not sure what happened.

I could revert back, but was wondering if there was anything else I could do to resolve this.

code snippet

We don’t need to see the script: you said you’re using Version 5.1.1f1, and InteractiveCloth was removed in Unity 5, so you won’t find the ClothRenderer component.