Task.defer stops working after unknown period of time

task.defer stops executing the passed function after some amount of time in live servers.

This issue has affected Pilfering Pirates. In this game there is a lot of destruction and I use task.defer to destroy any basepart joints that need to be destroyed at once. At some point the servers will just stop destroying joints.

The first report I received of this issue was Nov 14, 2024 | 2:06 AM (GMT)

A private message is associated with this bug report

Getting this issue too, running anything in a task.defer(function() just simply does not run. For me this happens in both live servers and studio sessions.

Edit: Trying to make a repro of this, not sure what causes this exactly because just running a simply script does work so a real head scratcher rn.

Edit #2:

I unfortunately can’t find a way to make a repro even though this happens immediately and consistently 100% of the time at this current experience.

I got a report on this at around November 14 7pm EST and after the report the game’s ragdoll is completely broken as the clean up runs in task.defer. What happens now is that things don’t respawn when they should.


image

I expect things inside the task.defer to run but nothing happens.


I can’t make a repro because if I take this script alone in a different place it runs but it will not run in that studio and it won’t run in live servers, not sure what is going on.

1 Like