First Person Controller not working with OnCollisionEnter and OnTriggerEnter

Hey everyone!

So I’ve been searching on for forums for similar problems but all I’ve found is unanswered questions. So here it goes:
I’ve been making an FPS game and I want somehting to happen when the Character enters a room. So I created a collider on a decal which the character has to go through in order to get into the room, and after a few seconds the door should close.

  1. I tried setting the decal into a trigger and used “OnTriggerEnter” in a script which is applied on the decal,didn’t work.

  2. I’ve tried expanding the radius on the FPS controller (the standard from unity) → nothing.

  3. tried to make the FPS controller into a trigger (with the help of a script) and tried to use “OnTriggerEnter” on the decal but failed there aswell.

  4. I tried with OnCollisionEnter which also failed and resultet in no response

So what should I do?, what am I doing wrong?

You could try calling the void OnControllerColliderHit(ControllerColliderHit hit) function of the controller.