Search Unity

Bug IndexOutOfRangeException: Index was outside the bounds of the array.

Discussion in 'Scripting' started by NintendoAsh12, May 23, 2023.

  1. NintendoAsh12

    NintendoAsh12

    Joined:
    Feb 15, 2021
    Posts:
    91
    Does anyone know how to fix this error:
    IndexOutOfRangeException: Index was outside the bounds of the array.

    it occurs in a script called selectable in my library folder:
    C:\Users\user\unity gamer peeps 1\Library\PackageCache
    and I don't understand the script a bit or find anything about the script online
     
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,188
    Looks like it's part of a package, did you try updating any packages you are using?