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

Bug Change ListView itemsSource

Discussion in 'UI Toolkit' started by hbashiri, May 8, 2021.

  1. hbashiri

    hbashiri

    Joined:
    Dec 20, 2019
    Posts:
    5
    when changing ListView itemSource if the previous list length be bigger than new one, itemSource will change but try to iterate as many as previous list length and thus get ArgumentOutOfRangeException.

    I create a small project to demonstrate the issue:
    In AI>Ai7 open my UItoolkit window. Select Action 1 and then Action 2.
     

    Attached Files:

  2. Beshi38

    Beshi38

    Joined:
    Feb 7, 2021
    Posts:
    5
    I'm pulling up the post because I have the same problem.