i have problem in Unity:NullReferenceException: Object reference not set to an instance of an object Collectable.OnCollide (UnityEngine.Collider2D coll) (at Assets/Scripts/Collectable.cs:10) Collidable.Update () (at Assets/Scripts/Collidable.cs:24) In these scripts (Collectable and Collidable) I indicated that if the player approaches an object, then that object will change. Please help me. This scripts: enter image description here enter image description here