Function OnTriggerEnter2D is not called

I have already checked other questions and answers, in which they recommend to make sure that one of the objects has a RigidBody2D and ‘IsTrigger’ is checked. Everything’s okay with that.
Still, OnTriggerEnter2D isn’t called when my EmptyObject collides with a background.

Hi;
go to Edit> Project Setting > Physic 2D

make sure that all physic matrix are checked;

===========================================

it will be good if u send your script too