Unity 2D triggers is not working

Hey,

I cant find the reason why the trigger in my project wont work.
I have a a Ball with: RigidBody2d , circleCollider2d, SpriteRenderer.
And the trigger: BoxCollider2d,SpriteRenderer.

And i checked the Is trigger box.

The trigger has a script attached to it:

public class trigger : MonoBehaviour {
	
	void onTriggerEnter2D(Collider2D other){

		print ("AS");
	}

}

I tested the trigger in a new project and it worked.
I cant seem to find the problem in my current project.
Any Ideas?

It’s OnTriggerEnter, not onTriggerEnter. Upper case is important!