The referenced script on this Behaviour is missing! but the script is there

i have created a script and assigned it to a object. when i click the script name in the component it highlights the correct script in my assets folder but i still get this error.

what is going on!

I have tried remaking the script the project and disabling my antivirus and none of these have worked.

I would be grateful for any assistance you can give.

well your description doesn’t help much but normally if in play mode and you delete an object as in destroy it you’ll get an error like that also if the object doesn’t exit as a prefab or doesn’t exist in the scene you’ll get that error to so start there first if you don’t find the problem post here in the comments and I’ll try help more.