Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
11 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by animpinabox · Jul 13, 2015 at 12:19 AM · interfaceselecting objects

Select object in scene problem

I need some help with an interface problem. I have an interior scene with many objects in however when i go to click on an object, the tendacy is for the largest object behind the object i clicked on to become selected (usually the wall or floor), which is making it near impossible for me to select the actual object I want.

For example:

I have a chair in a room up against a wall. I go to click the chair and the wall behind it is selected instead.

With so many objects though its making it very difficult to arange or adjust the obects currently in the scene.

Does anybody have any idea why it is doing this and if there is some workaround to fixing it?

Thanks

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jeebumm · Nov 27, 2015 at 11:08 AM 0
Share

@animpinabox

I'm dealing with the same thing. I just switched to Unity 5 and it's terrible and annoying !

It works fine on $$anonymous$$ac but on Windows 7 it's a disaster.

avatar image JBremm · Sep 04, 2017 at 11:50 AM 0
Share

I have the same problem so it's not just you. It's driving me crazy.

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Xarbrough · Jul 13, 2015 at 12:25 AM

Unity uses a selection system which prefers certain objects and also has some padding around them to make it easier to select certain things. This should actually be very handy, unless you have a very unlucky configuration of just too many objects.

One solution: Put your objects on Layers. Even if you don't need those logical groups in game, you can use them in the editor, because at the top right there is a drop down which allows you to lock certain layers or make them invisible.

You also might be able to hide certain objects by hiding their Gizmos (Scene view menu tab has a Gizmos button to disable certain types), which is equivalent to toggling a components drop down arrow in the inspector. If you toggle, say, the Camera component on the Main Camera, the selection preference will be lower on that component.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image animpinabox · Jul 15, 2015 at 10:24 AM 1
Share

The layer option seemed to work the best.

Still, it seems very weird to me that nobody else seems to have this problem, (i did do a search 1st). Is it not a common problem?

Something I also noticed is the problem only seems to occur after clicking the play button. (and then unclicking play of course). Could this be relevant?

avatar image benhurvillar animpinabox · May 11, 2016 at 04:42 PM 0
Share

The problem still persists. Thank you for sharing the cause, this helps to get around the problem.

avatar image Gooberverse · Dec 06, 2017 at 02:33 PM 1
Share

The inability to select objects in Unity drives me bonkers as well.

Blender has a nice feature that overcomes this issue. You can CTRL or ALT (something like that) click an object and it will display a pop-up menu with all of the objects along the Z-plane of the point you clicked. Seems simple enough to implement.

avatar image Xarbrough · Sep 28, 2020 at 03:59 PM 0
Share

After a couple of years of game development since my original answer, I've actually developed a tool that does just that. $$anonymous$$y solution was to show a list of all GameObjects that are under the mouse when right-clicking in the scene view. Fairly easy to implement for your own use, but I also maintain a stable version on the asset store: https://assetstore.unity.com/packages/slug/179537

avatar image
1

Answer by GregoryFenn · Aug 04, 2018 at 11:57 AM

Can't you just select objects from the Scene Heirarchy, rather than the Scene View window? If you can't find the object easily in your heirarchy, you need to tidy-up and organise it, using empty GameObjects as folders and things. E.g., a seperate empty for NPCs, icons, loot, trees and plants, ground, walls etc.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image CurlyTail · Aug 04, 2018 at 04:25 PM 0
Share

The problem is not about hierarchy organization, it happens even in a empty scene with only 2 boxes, a small one in front of a bigger one, when you click on the smaller box in scene view, unity tend to select the bigger box on the back.

avatar image GregoryFenn CurlyTail · Aug 04, 2018 at 10:19 PM 0
Share

Oh I know, I understand the OP and your solution above. I was just suggesting that it might not be that important an issue when selecting an object in the heiarchy seems to be much easier and more precise than in the scene view anyway. It's up to you of course, I just don't really see the need for selection in the scene view anyway [playing with gizmos, yes, but they pop-up after selection and get mouse-priority].

avatar image
0

Answer by CurlyTail · Aug 04, 2018 at 04:19 AM

I recently had the exact same problem like the question described, really annoying, I thought something went wrong with Unity so I uninstall and re-install Unity with no luck, problem remained the same. then I remembered when Unity editor affected by some mystery dark force and acting weird like this, a big chance is there is something wrong with the custom layout, So I change the layout back to any built-in layout ( the drop down menu on the upper right corner ), problem solved. simple and easy. I can select the tiniest rock in the scene without any problem.

This is kinda late since the question was back in 2015, but better late than never I guess. hope this trick could help someone.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Starting with UNITY. what first? 1 Answer

Interface 3D 1 Answer

Problems with GUI 0 Answers

Exposing interface implementation 3 Answers

I'm not fully understanding the concept of "interfaces" and what's up with the IEnumerator interface... 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges