[BUG] NPCs bug out when a player disconnects.

Summary

Having a map with NPCs and partitioning enabled. When a player disconnects (e.g., loses internet connection), the server takes between 1 and 2 minutes to detect that the player is gone. During those minutes, in the partition chunks where the player was, all the NPCs stop working. They stop spawning, have no health, and no behavior. This causes countless bugs in our map.

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

AI

Steps to Reproduce

Create a map with partitioning enabled.
Add a lot of NPCs.
Have a player disconnect by unplugging their internet cable.
Have another player remain in the same chunk where the disconnected player was.
And check if the NPCs stop working.

Expected Result

What will happen is that the NPCs might still be there, but when they die, they won’t respawn, they won’t have behavior or anything.

Observed Result

What will happen is that the NPCs might still be there, but when they die, they won’t respawn, they won’t have behavior or anything.

Platform(s)

All of them.

Island Code

4693-2563-3253

Additional Notes

I can give more detail, but that’s really all there is.

FORT-885818 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.