Character dissapeared when I hit play

So I had a normal game, everything set up the script is set up exactly how it should be, and everything was fine. I tested it beforehand and it was doing great, but then all the sudden a few days later as I get back to work on developing, I pressed play and the character dissapeared. I looked on the inspector on the right whilst pressing play and noticed my y axis was going into negatives. I stopped playing and it went back to it’s normal state, how do I stop my character from well… falling down?

I assume you use Unity physics and collisions (the Rigidbody/Rigidbody2D components) for your character to have any sort of gravity and that you have two objects in your scene: the player and the ground it’s falling through. Is that right?

Make sure your character object and your ground object BOTH have a collider and that their bounds are correct. Make sure either the ground or the player has a Rigidbody/Rigidbody2D component attached. Then, you should have collisions between your player and the ground and it shouldn’t be falling through anymore.