This function is not detecting the collision C#

My collision code is as follows:

void OnTriggerEnter2D (Collider2D coll)
    {
        Debug.Log("Collision Detected");

        if (coll.gameObject.tag == "Goal")
        {
            scenechange();
        }
    }

My debug log never plays which tells me it is not detecting the collision, attached is my inspector for my Projectile and my goal objects which seem to have all the components I need.

All help is appreciated.

Good day.

I don’t see any script in the goal object., so this code is not inside it.

If you are using OnTriggerEnter, it must be in a script inside the object that contains the trigger collider.

If helped, accept the answer

Bye :smiley: