Search Issue Tracker
Fixed in 2021.2.X
Votes
1
Found in
2020.1.0a9
2020.3
2020.3.2f1
2021.1
2021.2
Issue ID
1326407
Regression
Yes
Nested Objects Draw Gizmos twice when using DrawGizmo
How to reproduce:
1. Open attached project "GizmoDrawBug.zip"
2. Open "SampleScene" scene ("Scenes" folder)
3. Select "Level" GameObject
4. Select "Nested" GameObject (expand "Level" GameObject)
5. Observe Scene View window
Expected result: Gizmo is drawn once
Actual result: Gizmo is drawn twice (much more opaque)
Reproducible with - 2020.1.0a9, 2020.3.2f1, 2021.1.2f1, 2021.2.0a12
Not reproducible with - 2018.4.33f1, 2019.4.24f1, 2020.1.0a8
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
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
Resolution Note (fix version 2021.2):
Github: https://github.cds.internal.unity3d.com/unity/unity/pull/3925
Ono : https://ono.unity3d.com/unity/unity/pull-request/125101/_/st/bugfix-1326407-nested-objects-gizmos-drawn-twice