I think your test player object is out of alignment with your platforms. In the game window and the inspector you can see that. It only worked in the scene view because of the 2D colliders.