Search Issue Tracker

Active

Under Consideration for 1.2.X

Votes

0

Found in [Package]

1.2.0

Issue ID

N4EBUG-107

Regression

No

IndexOutOfRangeException is thrown in GhostPresentationGameObjectSystem when the last Entity is removed

Package: Unity Netcode

-

Reproduction steps:
1. Open the “ClientSideAnimation” scene from NetcodeSamples
2. In the "Multiplayer PlayMode Tools" set "PlayModel Type" to "Client & Server".
3. Set "Num Thin Clients" to 1.
4. Enter Play Mode
5. Hit the "Client DC" button for the “ThinClientWorld1” (disconnect the thin client).
6. Observe the Console window

Expected result: No errors are thrown
Actual result: An IndexOutOfRangeException is thrown

Reproducible with: 1.2.0 (2022.3.26f1)

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Note:
- Not reproduced by CQA

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.