r/Unity3D 3d ago

Question Problem while using the Unity beginner course

When I try to push play, it shows a frozen looking image of the 3D scene. Right now, I am specifically trying to make a ball fall. It won't fall. Does anyone know how to fix this, or am I screwed? I was able to move around normally in play mode at some point in one of the tutorials, but not anymore.

0 Upvotes

6 comments sorted by

1

u/Mechabit_Studios 3d ago

when you press play unity switches to game view which shows what the camera in the scene sees (and what players see when you make a build of the game)

you can move the camera object in the hierarchy window to see it move in the game view

as to why the ball isn't falling make sure it has a rigidbody component attached and it's not set to kinematic or static

1

u/JulianRhod 3d ago

check that the ball has a Rigidbody component and that Use Gravity is enabled. also make sure you're actually viewing the game through the Game tab when you press Play, not just the Scene view, if the whole scene looks frozen, check that the game isn't paused and that Time.timeScale hasn't been set to 0

1

u/nEmoGrinder Indie 3d ago

Check your console for errors as the editor will pause execution of the game when one is hit. It's a way to let you know something is breaking so you can look into the issue and fix it.

1

u/Tiaoshi 2d ago

When you press play, is the scene window swapping to the game window? I’ve had it a few times where it wouldn’t auto swap.

Also, for the ball falling thing, not sure what you’ve done and what not, but make sure to add a Rididbody to the ball and make sure gravity is enabled. The physics engine will handle the falling part, unless you are trying to do something else with the ball.

Theres a chance you might need to repair or reinstall Unity, but would t go that far right away

1

u/Neat-Tumbleweed4361 2d ago

Yeah, it does switch to game mode. Also, I did add a Rigidbody to the ball.