So Ive had this problem for a while. I followed and implemented this example for allowing the player to jump through platform and walk on top of them.
This worked perfectly in the prototyping phase. But as soon as my levels became larger and had more game objects(enemies walking around, moving platforms, pickups etc) The player sometimes fall through platforms while walking on them. I could share my player script but its 940 lines long! I tried running debug and it seam the y normal randomly flips to 90 degrees(horizontal arrow). I tried printing the normal while the player is on the platforms but it always reads (0,1,0) which is what its suppose to be so im a bit confused.
I also checked the game project setting and tried increasing the Max Collisions and Max Contacts without any luck. I’m not sure what to try next. Is it some kind of memory leak issue maybe?