LoadCharacter() hogging server resources

This is the third time this year that Roblox has caused my projects to come to a halt. When setting the character/load character, the game experiences severe lag/freezes.

Hours were spent narrowing down the issue until I tested the game, which is a quest game, without the character loading. The game was super smooth, as expected. After checking the script profiler, it seems most of the resources are taken up by core scripts.

It gets even worse if there are tools in the person’s backpack; the whole client/studio crashes and closes, causing the game’s development to freeze. The test/debug tool was nothing but a tool that loads one and plays animation.

(Project details blacked out due to the owner’s request for confidentiality)



2 Likes