Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X
Votes
0
Found in
2021.3.38f1
2022.3.30f1
6000.0.3f1
7000.0.0a1
Issue ID
UUM-72297
Regression
No
GizmoType.InSelectionHierarchy not detected correctly when NotInSelectionHierarchy is defined
UPDATED: How to reproduce:
1. Open the attached project "GizmosSelectedInHeirachyTests.zip"
2. Open "TestGizmoBehaviourDrawer.cs"
3. Change DrawSelectedGizmosAttempt3 to :
{code:java}
[DrawGizmo(GizmoType.NotInSelectionHierarchy)]
static void DrawSelectedGizmosAttempt3(TestGizmoBehaviour target, GizmoType gizmoType)
{
DrawGizmosInternal(target);
}
{code}
4. Open Assets/GizmoTest/Scenes/SampleScene.unity
5. Select "Main Camera" or "Directional Light"
Expected results: Gizmos are drawn for TestTarget
Actual results: Gizmo for TestTarget is not drawn. Reparenting TestParent under camera and then selecting light will start drawing the cube. So it sometimes works correctly but not always.
Reproducible with: 2021.3.38f1, 2022.3.30f1, 6000.0.3f1
Reproducible on: Windows 10 22H2, MacOS Sonoma 14.4.1 M1
Not reproducible on: ?
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Component (...) had become dangling during an undo operation." warning undoing creating a light
- Ghost collisions occur in a Physics mesh when entering the Play mode
- TMP text with Auto Size overflows when using the WD% property
- Light Explorer does not update Isolated Selection when new Light selected in Scene
- "Reference for Rendering" opens a documentation focused in the "Shadows"
Add comment