I just spent over an hour looking through MicroProfiler dumps for custom labels I created using debug.profilebegin()
and I couldn’t find them. It turns out, because I was using the new Lua VM, this information was obscured and the custom labels I was looking for were replaced with things like $Script and $UserToken, effectively making debug.profilebegin()
useless.
Dump with the old Lua VM:
Dump with the new Lua VM:
Because the Label field is unknown with the new Lua VM enabled, it appears to default to the Timer field for the custom label name.