- Home /
Missing script error on deleted objects after build and run
I got the "The referenced script on this Behaviour is missing!" error on ghost objects that I deleted and aren't in the Project tab anymore (I searched for them).
It happens only if I play the game after I successfully Build and run the game on the iPhone. I didn't happen before I started building. The ghost objects have been deleted before that.
Some (but not all) of the ghost objects have the same name of actual objects that are in the project tab. I'm sure they aren't the same object because have different script attached and if I rename the ghost object, the change isn't reflected on the actual one.
I tried to close and open Unity, refresh the Projects tab (option+R) several times.
What can I do?
No, I didn't figure out what was it. I think I started a new project from scratch
Your answer
