Client Lagging when Instance Added/Removed from Workspace

You can write your topic however you want, but you need to answer these questions:

  1. Remove client lagspiking when anything gets added or removed from workspace

  2. fps spiking down

idk what else to say, ive tried looking it up and everything, i dont have any childadded or removed events and got this from the microprofiler but no clue how to debug this
Medal_uLyQDFlxlC

these are the frames where it spikes because something’s being added/removed from workspace

another long frame i just found out about

i found out it had notthing to do with the scripts somehow as i tested it with no scripts, and apparently when i removed all the buildings it was fine??

2 Likes

I have made a few games already, objects that are too far away from the viewport camera stop rendering. Is that the main reason causing the fps spikes?

i figured it out a while ago, for some reason an ungrouped accessory ( removed the handle from the accessory class grouping ) ported in from the marketplace caused it to do it for some reason. weird bug