Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Array index is out of bounds Skinned mesh renderer

Discussion in 'General Graphics' started by RafaelGomes00, Sep 12, 2022.

  1. RafaelGomes00

    RafaelGomes00

    Joined:
    Aug 13, 2020
    Posts:
    73
    Hello, I'm having a problem with skinned mesh renderer customization on my project, basically when i change meshes this error pops up:
    Error.png

    It doesn't seem to broke anything, but this error can be really annoying while working on my project, I already had this same error on previous projects, but it seemed to "fix itself".
    Anyone knows any fix or something I could try out?

    Appreciate.
     
  2. RafaelGomes00

    RafaelGomes00

    Joined:
    Aug 13, 2020
    Posts:
    73
    Fixed by using a larger base shirt on my base fbx model.

    Edit: It broke again...
    Edit: I fixed again by changing the default mesh on prefab
     
    Last edited: Sep 15, 2022
  3. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,613
    This may be "annoying" in the editor, but when you go to make a build, an error like that could cause your game to crash completely. If this is your own code causing this error then you should debug and see why you are trying to access indexes that are higher than the maximum.