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.
  2. Dismiss Notice

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,380
    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.