What is "LegacyLock" in microprofiler

What does “Write Marshalled” or “LegacyLock” mean in the microprofiler? I’m not 100% sure when this started happening in my game so I’m not sure what is causing it, but it’s completely tanking the fps

From what I know, marshalling is turning a part of memory used by an object into storage-like data (such as a table). Do you have any cases where you place varargs or parameters into an array?

ie.

function foo(...)
    local data = {...};
end
1 Like