So I am trying to make a club game. We have over 40,000 parts and unions in the Workspace. We are not sure how to reduce the lag. We know Unions will make the game extremely laggy, but is there any way to reduce the lag we currently have?
Give this article a read.
That’s all I can really say - it has most, if not all, of the steps you can take to improve your performance.
Lower the amount of parts/detail if possible. If not, convert parts to meshes or add textures for detail.
Use unions when possible, this helps reduce the part count significantly.
Though this may encourage the mindset to stack a large number of parts into one part to create a union which may be a simple and small asset to be duplicated around a map or build, resulting in an even worse performance overall.
Just something to keep in mind.
To reduce lag with 40,000 parts in the Workspace, you can:
- disable the shadows in the properties window
- disable shadows for any light emitters (‘Point Light’, etc)
- remove the number of Point Lights in the build, and have one big light with a lower Brightness value, so that it still illuminates the entire space (efficient for when building an interior that requires the place to be well-illuminated.
Try to reduce the amount of textures used. Also try making many parts unions/meshes. Remove unnecessary detail. Sadly, not much more can be done.
Yea but unions get corrupted easily. It will be very difficult to retrieve the unions if they get corrupted. The better option is to use meshes