Search Issue Tracker

Fixed in Unity 2017.3

Votes

0

Found in

5.6.0b6

Issue ID

896176

Regression

No

EditorGUILayout.EnumMaskField does not support having 0 valued consts

IMGUI

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 3Workaround is possible

Reproduction steps:
1. Load up the attached project and open "testscene.unity"
2. Select "GameObject" in the Hierarchy
3. Note that in the inspector, Test Script > Test Values is set to "None" (an int value of 0).
4. Note in the console the line `Enum: [Looping], Int Value: [1]`

Expected result: Value will be the same.

Reproduced on: 5.6.3f1, 2017.1.0p3, 2017.2.0b6, 2017.3.0a2

All about bugs

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