Closed Danila24ru closed 4 weeks ago
note: Despawn(DespawnType.Pool) called in NetworkCollision2D.OnEnter += OnCollide callback.
Can you make a tiny project on replicating this please.
https://fish-networking.gitbook.io/docs/manual/guides/creating-bug-reports
See ^ for full steps.
Just updated from 4.4.5 to 4.4.6. i do have same error.
I won't be able to troubleshoot this without a repo project.
Changing ResettableRingBuffer.cs line 82 from "_startIndex = c.GetRealIndex(0);" to "_startIndex = c.GetRealIndex(0, true);" solved it for me. Don't know if that change can cascade in any other issues.
That's definitely not a solution. That would cause incorrect results to be returned. I strongly recommend someone upload a small test project so this can be fixed properly.
Queued to close in 2 weeks if there is no new activity.
General Unity version: 2022.3.30f1 Fish-Networking version: 4.4.6R Discord link: https://discord.com/channels/424284635074134018/1034477094731784302/1287814642969743493
Description Sometimes error occurs: Index 0 is out of range. Collection count is 0, Capacity is 1 when despawn network objects.
Replication Steps to reproduce the behavior:
Expected behavior No errors on despawn..
Logs