Search Issue Tracker
By Design
Votes
0
Found in
2022.3.63f1
6000.0.51f1
6000.1.9f1
6000.2.0b7
6000.3.0a1
Issue ID
UUM-110144
Regression
No
Objects cannot be selected through the Scene view when Mesh Renderer Component is not attached
How to reproduce:
1. Create and open a new project
2. Create a Cube in the Scene
3. Add any 3D Collider component and remove Mesh Filter and Mesh Renderer Components
4. Deselect the Cube and try selecting it through the Scene view
5. Observe the Scene view
Alternatively:
1. Open the “TerrainProtoPJ.zip“ project
2. Open the “SampleScene“
3. Enter Play Mode
4. Try selecting one of the “Parcel Colliders“ of the “Terrain“ GameObject parent
5. Observe the Scene view
Expected result: The object is selected
Actual result: The object cannot be selected through the Scene view
Reproducible in: 2022.1.0a1, 2022.3.63f1, 6000.0.51f1, 6000.1.9f1, 6000.2.0b7, 6000.3.0a1
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Workaround: Select the object through the Hierarchy window
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
- [Android] Permission window is not shown when using a Build App Bundle (Google Play) with Minify set to Release
- NullReferenceException errors appear in the Console and Inspector window turns black when dragging .cs and .uxml files to another directory
- Crash when reimporting fbx asset used as tree by specific Terrain component
Resolution Note:
Hi,
Thanks for reaching out about this question. The picking in the scene view is render-based, so it's expected that a GameObject with a collider only cannot be selected. This would complicate a lot more the selection, if for example you build a scene with a lot of containers around the content (to keep physical objects inside an area for instance), the selection would then pick a lot of undesired invisible objects when trying to select an object inside the colliders.
However, several options are available to enable selection of objects without renderers in the SceneView.
- The first one would be the use of Icons on the desired GameObjects:
https://docs.unity3d.com/6000.1/Documentation/Manual/InspectorAssignIcons.html
This way you can easily visualize them and select them, while adding a label to them or a custom icon (This is for example how you can select lights or Cameras in the Scene).
You could also design custom gizmos and add them to your GameObjects to be able to visualize them even when they are not selected, and add selectable capabilities on them, this would for instance allow you to visualize a collider area without even having to select the object itself:
https://docs.unity3d.com/6000.1/Documentation/Manual/gizmos-handles-programming.html
I hope this will help you!
Have a great day.