You can write your topic however you want, but you need to answer these questions:
-
Remove client lagspiking when anything gets added or removed from workspace
-
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](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/5X/9/c/b/8/9cb8374490ed3ca5ed2bdf3c74e2a149bd2b8255.png)
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