animation Collider

I have an elevator with a collider. But the Elevator start is animation and move down but the collider stay up so my player stay on the top of the elevator.

Is the collider componenet attached to the object in the hierarchy that is actually carrying out or being affected by the animation? If it's not, you may want to double check on what object you should be attaching the collider to.

To put collider on my elevator object I go to my project panel on my elevator object and put generate collider but in the hierarchy I see the animation on the elevator object but I don't see any collider

I have a similar problem, I add the collider but don't collide with other object with collider in the others object games, I don't understand the cause. I don't know if is a problem of Unity or my!