#why did I get a lag spike
1 messages ยท Page 1 of 1 (latest)
'a' script:
task.wait(3)
local thing = script.b:Clone()
thing.Parent = workspace
thing.Enabled = true
task.wait(8)
thing:Destroy()
'b' script:
while true do
local part = Instance.new("Part")
part.Position = Vector3.new(0, 10, 0)
part.Parent = workspace
task.wait(1)
end
a: Enabled
b: Disabled
Explanation: my screen freezes for a second after the b script/thing gets destroyed
@rancid garden
so is this a bug
Seems like its specifically when destroying scripts
But in all the bug reports that I was reading they all came to different conclusions
ok ill look
must happen with gui too
yeah
Cuz its just this "Write Marshalled" thing I see
Whenever destroying script
wonder if module is same way
Yep
dam
well i encountered this when i was testing a way to do client fx without remote events
cuz im lazu
They basically fixed the issue with tags but didn't say anything else
They concluded was due to destroying the script as well
I do feel like this is some sort of bug
Don't understand how its taking that long
oh ok
I mean the first dev forum post from 2017 says the same "Write Marshalled" issue
And then not much was said between like 2018 to now
So I don't know if this bug just reappeared or if its always existed
Cuz I never had this issue before myself
write marshall thingy was happening to me aswell
It disappeared after I stopped using humanoids
Did you have scripts
Idk the cause
That were being destroyed
nope
Maybe since humanoids got a built in Roblox script it was causing that
oh
might be
but only happened once
at the start of the game
o
Idk how I've never noticed this ๐
huh what