Some things that I know is probably not causing the lag:
Viruses
Everything in the game I have made myself, and I only have plugins from very trusted sources.
Part Count
There are quite a lot of parts (44k), however other games I have made have 2-3x that part count and do not have this issue. Also, there is no change in part count the lag spike occurs.
Lighting
The issue is happening on every graphic setting.
I have attached a recording of the issue, as well as the micro profiler during a lag spike.
If anyone know why it’s doing this please could you help me, thank you.
Having a huge amount of Parts in a small area can cause this because the engine is trying to compute them all.
I’m guessing the seats have a lot of Parts. Try selecting all of them and move them 500 studs away to see if that helps.
If that doesn’t change then try moving the movie screen 500 studs away and testing again.
I found the issue, the VideoUI kept replicating itself on every game tick, overlaying over itself every time. Fixed the problem, was just the result of some of my bad coding…