Search Unity

EditorGUILayout.PropertyField always false

Discussion in '2021.1 Beta' started by Metron, Feb 1, 2021.

  1. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,067
    Hi,

    Unity 2021.1.0b4

    When using EditorGUILayout.PropertyField with a serialized property and specifying includeChildren with false, the return value is always false.

    Code (CSharp):
    1. partSetsFoldoutExpanded = EditorGUILayout.PropertyField(partSetsProperty, false);
    Has anyone encountered this and is this a known bug? Or is this new?

    Edit : Bug #1311349 reported
     
    Last edited: Feb 3, 2021
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,623
unityunity