Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug EditorGUILayout.PropertyField: "includeChildren: false" does not work 2020+

Discussion in 'UGUI & TextMesh Pro' started by Mortalanimal, Jan 15, 2022.

  1. Mortalanimal


    Jun 7, 2014
    Using "EditorGUILayout.PropertyField" in custom editor for Arrays and Lists does not work properly in 2020+, when you set includeChildren to false, it has no effect. Also setting the content to none, does not remove the array size field.

    This works fine in 2019, I can only assume this is caused by the new re-orderable lists and arrays.

    Anywork around is apreciated