:LoadCharacter() Memory Leak

What happens is the Script/LocalScript does not terminate and keeps running. When outputting the Parent to the Console it appears to be parented to itself: running a loop that does not terminate on it’s own causes a very distinct Memory Leak and has serious Server Side consequences (e.g. parts being created on a loop multiply every time :LoadCharacter() is called because a new consecutive loop is created with the old one still running).

  1. Create a loop in any Script
  2. Put the Script in StarterGui/StarterPack
  3. Call :LoadCharacter() from the Server.

loadcharacter bug repro.rbxl (29.7 KB)

4 Likes

This sounds related to this issue:

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.