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 [Error] Custom Inspector Error during Multi-Object Editing

Discussion in 'Editor & General Support' started by BunchAndrewD, Jun 20, 2022.

  1. BunchAndrewD

    BunchAndrewD

    Joined:
    May 6, 2022
    Posts:
    1
    Hi!
    I'm getting this error during Multi-Object Editing.
    upload_2022-6-20_16-39-44.png

    This is part of what the inspector looks like:
    upload_2022-6-20_16-40-18.png

    Context
    - After editing "Parent State", a function is called to regenerate the "All Next States" list.
    - Works fine when editing a single asset
    - Error occurs when during multi-object editing, happens when the All Next States get reduced in size due to a change in parent state

    Hopefully someone has experience with this issue?

    Thanks!
     

    Attached Files: