Game screen is empty

Hi,

I am a beginner and I have just started on my first unity tutorial. I have created a scene and placed few objects under it and wrote a basic actionscript code to handle user inputs.

But now when I click Ctrl+P to start the game, I just get a black screen with no objects. I could see the objects in the Scene view but no objects appear when I start the game.

Please let me know if I am missing something.

Regards,
RG

If you’re just at the beginning I suggest you to use an standard controller prefab to handle user inputs (look at the project panel, import the standard assets package and the character controllers and then drag a prefab to your scene). These prefabs include a camera, scripts to handle the user input and the basic components to start.

If you prefer to do it by your own, as bansalgirish8 sais, check the main camera of your scene and also check if you are colliding with the floor or what is happening is that your player starts falling down when you hit play

Hi guys,

Thanks a lot for your response. But somehow I am not able to “Align to View” the camera object. I am only able to align objects that I have created. Attached here are screenshots for your reference.

Also, I needed some guidance on best way to go about learning unity. I am primarily a Java programmer and have not worked on any animated games. I am currently trying to start with the Roll-a-Ball project listed here: Learn game development w/ Unity | Courses & tutorials in game design, VR, AR, & Real-time 3D | Unity Learn

I just wanted to get your opinion if there is some other URL that I should go through first to understand basic concepts of Unity and animations programming before starting on this example game.

Regards,
RG