Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

UI Toolkit PropertyField broken when assigning arrays.

Discussion in '2022.1 Beta' started by LaneFox, Feb 18, 2022.

  1. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,647
    If you draw a PropertyField for an object array then it will null ref when assigned. This does not occur in 2020.x. Found it in 2021.2.11f1 after a user reported that some editor UI was null ref'ing on arrays.

    Repro project attached. Case 1404114.
     

    Attached Files:

    thebarryman likes this.