- Home /
The referenced script (Unknown) on this Behaviour is missing!
Hello, I Saw similar question on this forum, but nothing worked. I made a game with unity 2020.2.6f1 and since yesterday, my console shows this warnings:
The referenced script (Unknown) on this Behaviour is missing!
The referenced script on this Behaviour (Game Object '') is missing!
The referenced script (Unknown) on this Behaviour is missing! UnityEditorInternal.InternalEditorUtility:GetGameObjectInstanceIDFromComponent(Int32) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
The referenced script on this Behaviour (Game Object '') is missing! UnityEditorInternal.InternalEditorUtility:GetGameObjectInstanceIDFromComponent(Int32) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
i tried to dobbleclick them but when i do this a empty script called SceneHierarchie.cs opened which i didn't created.
I hope someone can help me and sorry for my bad english.
thanks
Answer by N-8-D-e-v · Sep 24, 2020 at 05:33 PM
Whatever gameObject is called "Game Object " has a missing script, probably you deleted it
Answer by l3mon · Sep 24, 2020 at 05:46 PM
If you didn't create it, did you use a new asset/package recently? Is the error shown before you press "Play" or during play mode?
No i just use one joystick asset, but i use it singe beginning
Oh i forgot to say ist just when i try to play the game
Can you check if any gameobject/prefab is generated at runtime? (Watch the hierachy)
Edit: How many objects does your scene contain? Is it worth it, checking where there is a script component, but no script attached? The same message will appear in the component's details.