The referenced script on this Behaviour is missing!

Hi.

In section 20, I received an error message saying The referenced script on this Behaviour is missing and i don’t know what to do!

Hi @omar_mahdy,

Click on your Number Wizard game object in the Hierarchy and then click on tge Inspector view. Yoy will find a script component which says the script is missing. Drag your Number Wizard script file into the script field on the component.

Hope this helps.

@Rob well after doing that is says something about compile errors

and dragging it in doesn’t change anything

Ok, so the first issue is resolved. The second is that there are mistakes in your code.

Paste your code into a reply and let’s have a look.


See also;

Privacy & Terms