This might be a noob question, even though I’ve been using Unity for a while. Is it possible to see what script Unity is looking for when it shows the “missing script” error on a GameObject? I’ve pasted the text here for search engine helpfulness:
The associated script cannot be
loaded. Please fix any compile errors
and assign a valid script.
I’m currently getting this because I copied a prefab from one project to another (in the file system) instead of importing it. I know I can fix it by adding the scripts back in by hand, but I’ve always wondered if there’s a way to get Unity to tell me what it’s looking for when it says this – a script name, a file path, any clue at all really.
It’s such an unbelievably unhelpful error message… surely there is a way?