I’ve published a update for my game currently and after a ROBLOX update, the players and I noticed that the servers were disconnecting frequently, and I’ve been diagnosing this issue all day.
I’ve came to the conclusion that it was the pathfinding itself that my NPCs were generating (using the pathfindingService) that’s been causing disconnections all day: I tested to see if it was the NPCs following the path that was causing the servers to crash, but turns out that wasn’t causing it. I’ve disabled the NPCs invoking the waypoints and found out it stopped servers disconnections. I’ve disabled all of the complicated scripting that causes the path generated from the server to be simplified, but it still causes the server to lose connection immediately. Can someone take a look at it?
The disconnection isn’t immediate if I make NPCs invoke for a path in different maps, bigger or smaller. It always disconnect on the map called Homeland though, and it doesn’t disconnect if I disable NPCs from spawning on there.
I made a video to analysis this bug for anyone who sees this post to view (10/19/18):
The issue has been fixed.