Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game The Unity Editor and Scene Setup Setup the Camera

Yehoshua Kahan
Yehoshua Kahan
211 Points

Why can't I see the ground?

In the instructor's screen, when he has "game view" clicked I can see the screen as it would appear to the end user. By contrast, in my own copy of Unity, the ground does not appear, just the grey "nothing" under the frog. Also, my frog seems to be standing straight up, when I compare him to the logs and rocks in the background, not sitting on his belly frog-style. He's in position x=-0.01, y=1.28, z=0, with rotation of x=y=z=0. Can anyone explain where I'm going wrong, please? Thanks.

It sounds like the problem is with your camera. To clarify, in "game view" you see the grey "nothing" (this includes when you run the game)? If this is so, please verify that your "Main Camera" Transform is: Position x=0, y=14.67, z=-1.5 and Rotation x=60, y=0, z=0 (scale should have all 1 values). NOTE: My player transform Position is x=0, y=1.225, z=0 so, it sounds like the frog's position is fine.

Yehoshua Kahan
Yehoshua Kahan
211 Points

Josh Shoffner, I hope you see this.

To answer your questions, I haven't gotten up to running the game, and I don't even know how to do that yet. I'm talking solely about the game view while setting up the game, as Mr. Pettit discusses in the "Setup the Camera" video.

My main camera transform is in position x=0, y=5, z=-1.5, with rotation of x=60 and y=z=0, as we're instructed to do in the video. Scale is at x=y=z=1.

Those settings should be fine, for the main camera (although I would probably move the camera back some by adjusting the transform.position.y = 15).

NOTE: There is a difference between the scene view and the game view. What you're describing sounds like you're viewing the game through the scene view, not the game view. Can you can send a screen-shot of Unity3D? That would really help.

7 Answers

Yehoshua Kahan
Yehoshua Kahan
211 Points

Josh, how do I attach a .jpg file to these comments? Or can I somehow send you the screenshot privately?

Yehoshua Kahan
Yehoshua Kahan
211 Points

Josh, how do I attach a .jpg file to these comments? Or can I somehow send you the screenshot privately?

The command to attach an image is: alt text.

Please refer to the "Markdown Cheatsheet" link (below the textbox that you enter comments) for more examples.

Sorry.. the image didn't come through... please try again.

Yehoshua Kahan
Yehoshua Kahan
211 Points

The path part of the command should lead to the location of the file in my computer, right?

Yehoshua Kahan
Yehoshua Kahan
211 Points

alt text

Maybe this'll do it.

I reached out to Treehouse support, and they suggested reaching out to the community. After thinking about it, I've only ever done this referencing an image's url.

Yehoshua Kahan
Yehoshua Kahan
211 Points

I appreciate your attempts to help me out, Josh. Didn't work out, but I greatly appreciate the attempt.

Hmmm... ok... try this... run the game, by clicking the play button icon. Do you see the top of the frog, or the bottom of the scene (below the frog)?