As a Roblox developer, it is currently not clear when an instance added to Debris is removed as a result of queue FIFO (which I just spent 2 hours debugging). Examples of use cases could be:
- Debugging raycasts and adding each “raycast part” to Debris, which can add up over time
- Generally having a lot of parts added to game.Debris
Debris | Documentation - Roblox Creator Hub
It would be great if a warning message or something could be printed along the lines of:
“Instance was destroyed by Debris before expiration time due to queue limit of 1,000 instances”