Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.1.0f2

Issue ID

1043157

Regression

No

[EditorGUI] System.TypeCode enum String value cannot be selected from an EditorGUI popup

Themes

-

Steps to reproduce:
1) Open the attached project.
2) In Hierarchy, select the 'Test' gameObject.
3) In the Inspector, select Test Behaviour > Custom Display > String.

An range exception is logged in the console:
enum index is out of range
UnityEditor.SerializedProperty:set_enumValueIndex(Int32)

This happens because the last element of System.TypeCode enum (String) could not be reassigned its value.

Reproduced on:
2018.3.0a1, 2018.1.0f2, 2017.1.4p1

  1. Resolution Note:

    low priority for the moment, may be revisited in the future.

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.