Why is my character Controller NOT colliding with collisiders?

Recently, My avatar (which uses a character controller) stopped colliding with objects in my scene, and I don’t understand why. I’m not exactly sure when it happened, because I noticed this while I was testing a script on a different object when the avatar passed through it. I’ve tried removing the new script, that fixed nothing. I’ve tried undoing everything else I did since last time I’m sure it worked, but its still broken. I’ve tested it against new colliders, so it wasn’t the object itself, its the avatar. I even added a capsule collider but it still clips through everything.

Here’s the avatar’s inspector during gameplay;

I also noticed that it I land vertically onto an object the avatar will stand on it and not pass through, but if I hit the same object horizontally it ignores it.

This is a completely game breaking bug, what could be causing it?

SOLVED!! Lisen, I have the same problem, Character Controller not detecting other Colliders. The problem was the #@%! LAYERS of the colliders.

Go to Edit->Project Settings->Physics. And check if the layers you are using can detect each other from the matrix.

I added two new layers, wallLayer and playerLayer and got sure that these detects each other in the physics matrix.

I have the same problem as you. Suddenly (i don’t know how and when) my Player does not colliding with other collisiders except the object right under it (it can be anything). Others like a wall or crates, etc. just don’t. I don’t want to check or trigger an event. I just want that the wall stops the player. It worked before! Colliders without trigger, with or without rigid body.

A few months ago i had the same problem already but somehow i solved themself. …and now here it is again.

Are you solved the problem? Or have a workaround?

Are the objects on the same Z coord?
Are they both having the same type of collider?
Does the player have a rigidbody?
Is layer Player 's collision enabled for the other layers?

Make sure your colliders are within the world bounds. It’s defined in Project Settings > Physics.

hi i know what is the problem on the script that uses character controller must be using it update even and the update event must be in blue like the script created if its not blue then its not even update event its just a function

Remove your box collider and add a rigidbody with a new box collider. That working

For a collision to take effect one of the two objects MUST have Rigidbody component.

Hope this help you mate.