- Home /
Referenced script on this behaviour(Main camera) is missing
I have read many answers to this question like delete the component and check you file name and the name which is in your code it should be matching.
But it never works it always show me the same error and their are 4-5 script there on my main camera even after I delete them and it always show the same error
Answer by logicandchaos · Jun 12, 2020 at 01:23 PM
No one can help without information. If you remove scripts from a game object they are no longer on the game object, if they are still on it then you did not delete them. How are you deleting them? Are you deleting the scripts from the project or removing the script from the camera? If you delete it there will still be a reference left on the camera. You need to remove it. If you show what error you are having the inspector and scripts I might be able to help more.