Player falling through moving platform

i’m using raycast instead rigid body 2D

If you guys thing it will be helpful I can post the code I’m using