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

Abdullah Mohamed
Abdullah Mohamed
17,323 Points

Can't select any object in Unity

Can't select any object like the rocks from the environment in Unity, what should I do ?

5 Answers

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

EDIT: Please read this thread https://teamtreehouse.com/community/cannot-select-green-boxes for an updated answer.

Hi everyone,

I posted the answer to this in another thread: https://teamtreehouse.com/community/cant-select-the-green-boxes

Here's a summary of the fix in case other people come across this thread looking for an answer:

  1. Go to the Edit menu and choose Project Settings > Quality.
  2. In the Inspector window, select the High Quality option.
  3. In the Inspector window, under the Rendering section, change the Anti Aliasing dropdown to Disabled.

I'm working with our video team to correct the "Setup the Project" video where we talk about Quality Settings so that anti-aliasing is turned off.

Alan Mattan贸
PLUS
Alan Mattan贸
Courses Plus Student 12,188 Points

The Game window is your Game itself and is not possible to select object like the rocks in there. Look for the "Scene" window instead.

Alan Mattan贸
PLUS
Alan Mattan贸
Courses Plus Student 12,188 Points

Is the Scene window white? Then delete the text that is in the search box of the scene window. In Windows, select the object by click more than one time with the left mouse button. You can reset the layout by selecting the button "Layout" on top right and choosing "Default". Then close Unity and open it again. And I finish my imagination

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

I just replied to a similar thread here: https://teamtreehouse.com/community/cant-select-the-green-boxes

Here's the answer:

When you select a game object in the Scene window, it will select the parent prefab first (in this case, the Environment prefab). If you click that same object again, it will select the individual object.

So if you're trying to move a rock around, you may need to click on it once to select the prefab, and then click again to select the rock you're trying to move.

I hope that helps!

Abdullah Mohamed
Abdullah Mohamed
17,323 Points

Hey Nick Pettit , it still doesn't work for me. Hope there is another solution. Thanks for replying.

Nick Pettit
Nick Pettit
Treehouse Teacher

Hmm... That's strange. Have you tried clicking on the objects in the Hierarchy window? Once you've clicked on a game object in the Hierarchy, you can then hover your cursor over the Scene window and hit the 'F' key to frame the current selection.

Abdullah Mohamed
Abdullah Mohamed
17,323 Points

Nick Pettit If I select the object by itself for example Rock 12 it will be selected but I can't select the rock while everything is selected like you did in the video.

I am having the same exact problem. Can't select anything in the scene view. I have to randomly pick a rock in the hierarchy and I have a one in thirty chance of getting it right. Maybe a Unity software problem?