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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Textures from other Sprites in the Assets leak into Sprite Renderer Sprites when Sprite Atlas v2 is used
- Errors “UI Error: Invalid GUILayout state in TestRunnerWindow view“ and “ArgumentException: An item with the same key has already been added“ are present when running tests with names that duplicate after truncation in the Test Runner window
- Flickering white border around Game View when Gizmos are enabled
- MultiColumnTreeView does not auto-expand foldouts when autoExpand is set to "true"
- Animation does not control the property of the Gameobject when the keyframe and initial value are the same
Add comment