Hello, so i’m a beginner and i’m going straight to the point, I have this error and i’m not sure how to fix it, but at the same time i don’t understand what it means.
Here is the error code : MissingComponentException: There is no ‘Collider’ attached to the “Lizard” game object, but a script is trying to access it.
You probably need to add a Collider to the game object “Lizard”. Or your script needs to check if the component is attached before using it.
Lizard.OnTriggerEnter2D (UnityEngine.Collider2D collider) (at Assets/Lizard.cs:24)