I am trying to detect when a Prefab collides with a trigger I have made. However, it never detects it. It will detect the player and other objects, but never the player. Currently, I have this code.
A Prefab is nothing to do with physics. It’s simply a template of a GameObject hierarchy you can clone and add to the scene.
In physics, whether something contacts is dependent upon the Rigidbody2D types and the Collision Layer Matrix. No idea what body-types you were trying to contact before but Static vs Static never contact.