How to Reduce Lag

I am working on this Autopilot game that requires a pretty heavy performance from client side to create the smoothest ride possible for the experience. My problem is, due to the performance required, sometimes my users with low end devices or weak signals don’t have the best experience. I want to know how to reduce the lag even further besides reducing part count and not using unions.

I have done some reading of my own and have concluded that excessive use of terrain editor can cause lag for the game and that it’s best to use parts for terrain. I have also read somewhere that unions creates heavy lag and that meshes are better to use. I have yet to try to use parts as a terrain but will probably convert my game to one.

Are there any more tips and tricks to reduce lag? Also, which main explore tab is better to store spawnable vehicles? Replicated Storage, Workspace, Server Storage? And does storing items you need to develop the game (such as road templates) in Server Storage affecting game performance?

1 Like

How many occurrences of task.wait() do you see? Converting them to wait might reduce lag.

Check if you are using content streaming. If not, enable it.

Server storage. The client should always request the server for the vehicle.

1 Like