I recently just converted my game to FE, but is experiencing some annoying issues occasionally. I am wondering if there is any fix to this. My game is a transportation game that involve lots of moving parts.
Issue 1: The character of players that already left the sever remains in the server. The child under the character is also undeleted
All of the issues you listed might be caused by a memory leak. Maybe something’s running every second in the background which yields most of the scripts.
And as for the first issue, you can simply fix that by listening to when the player leaves the game, and checking if their character is still in workspace. If it is, just delete them.
I think all of that would behave the same even if your game was not FE. It’s probably because there’s a lot of wear on the server. Any scripts doing expensive calculations or something that would cause the server to be slow?
No. I never encountered any of those issues when Filtering wasn’t Enabled. My game was already FE compatible before I actually enabled it. There weren’t no major code changes during the process of enabling it.
There can be a lot of loops running and the performance would be fine. It depends on what the loops are doing.
Also how many people are playing the game in one server at a time? It just occurred to me that this could have something to do with having a lot of people playing at once. It could be your game is more popular with FE on because younger players can access it, and it’s showing how low performance some aspects are. There could be too many humanoids or something in the server.
Before FE was on I used to host servers up to 20 players, but now I keep my preferred player count at 6. The first is with FE, the 2nd is a copy without FE. Both servers are brand new (less than 1 minute old)
From testings, as it turned out issue 3 wasn’t related to 1 or 2. Issue 1 and 2 is caused by a misalignment between the server and the client. When the player is at different locations between server and client. I don’t know what could possibly cause this.