Microprofiler is reporting 200Ms+ from "Write Marshalled" when reparenting an object with a script in

Noticed my game would lag every time an enemy was destroyed for the first time. Upon further investigation I discovered it only occurred when a script was in it, even if this script had nothing in it would always spike for the first 1 or 2 enemies and it didn’t matter where I moved it to as long as it was from workspace to a place.
image

Checked around on the devforum and found bug reports from up to 3 years ago that have not had this issue resolved

Thank you roblox engineers :smile:

A private message is associated with this bug report

1 Like

Can you link the related bug reports that have gone unresolved?

1 Like

Would also like to report that this issue is still occurring. I seem to get these massive lag spikes with streaming enabled in my game.

Thank you for filing this.

It seems like there are multiple issues in this thread, some of it is reparenting, some of it is streaming, none of which can be reproduced without Studio or Engine logs and repro places.

It is still possible that the places where this occurs have issues and the messages are just the consequences of these issues.

If you would like to send us the above info, please use the private message option.

Thanks again!

Hi,

After looking into this some more, we were unable to reproduce this. Since there are no repeatable repro steps, I’m closing this for now.

We can reopen with steps to reproduce as needed.

Thank you!