ConnectionDataMap Index Error

I may be misunderstanding, but shouldn’t this guard statement be:
“if (index < 0 || index >= m_List.Length)”?

com.unity.transport/Runtime/ConnectionDataMap.cs

Ran into this from an index out of range exception that occurs when the first client joins

Exception

1 Like

Good catch! That is indeed a bug. I’ll have it fixed in the next version of the package.

2 Likes