On certain triggerable events I keep getting a massive lagspike from “Write Marshalled” these events have existed for a very long time in my game, and write marshalled only started appearing after I made an update to the game.
I have no idea what Write Marshalled is, and if you search it on the dev forumn, you’ll get posts from 2018 saying the write marshalled lag spikes are a bug roblox needs to fix. Unfortunately this is causing some pretty bad effects in my game, is there any solution?
Write Marshaled is when data are converted to a stream to be sent over the network. You might accidentally be sending a huge object. Try and isolate the specific remote that is causing it.
Well I know how to replicate it exactly, but the code as always worked perfectly fine in the past. Is there a way I can actually track whats causing the lag?
Yo I got this problem too, Never had it before, And after disabling almost everything and disabling all remote calls to clients, It still freeze for 200ms