Error while updating first person arms item slots

trueh

New member
Hello:

I'm getting an error in CharacterManager when I try to set the item slots for the first person arms. I'm using Unity 2021.3.13f1 LTS with UCC 3.0.1 and the built-in RP.

The issue and steps to reproduce it can be seen in this video: https://streamable.com/okwqxx.

The error message is the following:

1668432814059.png

Regards.
 
Can you send me that scene with the model so I can take a closer look at the cause?
 
Hi Justin.

I have had some time for debugging and I think that I have found the error. In CharacterManager.cs, line 1873 we have:

C#:
for (int k = 0; k < m_OriginalItemSlotParents[i].Length; ++k) {

which should be:

C#:
for (int k = 0; k < m_OriginalItemSlotParents[i][j].Length; ++k) {

Regards.
 
Thanks! That looks correct and I'll do some more testing but I'll add it to the next update :)
 
Top