There is an error message saying that there is no collider on 2 of my objects but in the inspector there is collider components.
This is the error that I am getting.
and this is the inspector that I have.
Thank you for helping.
There is an error message saying that there is no collider on 2 of my objects but in the inspector there is collider components.
try collider2d instead
Collider does not work for a 2D collider. Change it to Colllider2D