I have also published here
and this is my results
Just to double check, is this instances in client or server memory?
it was on the client side
looks like i have the same problem on server side
but works fine in studio only when you publish
but i was able to fix it by doing
while true do
local dummy = game.ServerStorage.Dummy:Clone()
dummy.Parent = workspace
task.wait()
dummy:Destroy()
end
iv updated Test - Roblox with the code above and you can see for your self that it now works
but this should be reported to Roblox
I see thank you I will report this
I found a new problem when I use game.debris it still seems to memory leak when i set the time to 0.5s or 0s but not 0.1s which seems strange. In my actual game I run game.debris immedietly after making the instance which might be causing my memory leak.
This happens regardless of whether the task.wait() is before or after the debris statement
Also same thing occurs with task.delay and task.spawn with a task.wait inside of it
I also tried using dummies with no humanoid with this delay thing and it leaks but slower