Search Issue Tracker

Fixed in 5.1.0

Votes

0

Found in

5.0.0f4

Issue ID

681387

Regression

Yes

[Gizmos] GizmoType value is multiplied by 2 when using with a DrawGizmo attribute

Scene/Game View

-

Steps to reproduce this issue:

- Open the attached project
- Open 'test' scene
- Observe 'parent' gamebobject in the scene view

It should be:
-Green when 'parent' is selected
-Cyan when child of parent is selected
-Red when not selected

Instead those values are different

Workaround: In 'MyComponentGizmo' uncomment the line which shifts right(divides by 2) value of GizmoType and then it works as expected

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.