The difference of OnTriggerEnter2D and OnTriggerEnter.

When you have been using your OnTriggerEnter2D,
Also hit the object at the same time, the process once.

But, OnTriggerEnter, when the object is hit at the same time, the number of times adds.

Workaround?

Your posting does not compute.

But to answer the question in the thread title: OnTriggerEnter2D() is for 2D physics, whereas OnTriggerEnter() is for 3D physics. You can’t mix the two.

1 Like