As far as I’m aware, the unions themselves take longer to load, but improve overall performance, that is until the player comes into contact with them, unions with CanCollide on cause more lag, the reason for this can be seen if you go into studio settings, and under physics, turn on ShowDecompositionGeometry and then change the CollisionFidelity, you can see the actual area the player can collide with; gives a little insight to when you unions 4 parts in a square and you can magically hit something invisible in the corner.
Full Answer
Unions don’t cause server lag as the server doesn’t have to load the models for the unions, however it causes lag on the client as the client loads the unions, renders them and calculate the physics for the union so you suggest parts instead of unioning like windows…
Additionally, in order to decompose your UnionOperation, Roblox needs to keep track of which parts a UnionOperation exist out of, so the more parts you merge together, the more memory a UnionOperation takes up. Finally, each UnionOperation has its own unique shape, so Roblox needs to generate collision boxes for each UnionOperation.
When you create a UnionOperation, Roblox has to do calculations on what the new object should look like geometry wise.
The reason why you’re getting mixed answers is because it heavily depends on what you’re doing and how you’re doing it. Some background information on how unions work might be appropriate: When you create a UnionOperation, Roblox has to do calculations on what the new object should look like geometry wise.
Unions don't reduce lag nor cause it. the amount of polygons still say the same so your not reducing on that front, the only reason they exist is to work with the negate feature. unioning just make editing builds a hassle don't use if you don't need.
When creating a UnionOperation, or a Union, Roblox will generate its triangles/topology so you will be able to visualize what the object looks like. However, Roblox isn't perfect and it ends up creating unnecessary triangles, causing them to be rendered, and overtime these can cause performance lag.
The dependency of “triangles” is important when speaking about the unions, including its hitbox as well. The more detailed the union is, the more triangles(or polygons). From personal experience unions actually don't reduce lag, even though they do might seem to reduce amount of parts.
When your Roblox is lagging, it's generally a sign of a slow connection. Your outdated network driver can be the culprit and makes your game super laggy. To fix it, you need to update your network driver, especially if you can't remember when was the last time you updated it.
It is a common mistake to think that grouping regular parts into unions will improve performance, in reality it actually hinders performance because it gives the game a more complex item to load.
Use parts. Parts. All basic parts in Roblox have minimal physical properties that needed to be stimulated, while Unions comes in infinite amount of shapes, when you create a Union, Roblox would need to make physical calculations accurate for your game, which can drastically decrease performance.
One way to avoid lag is to try and limit the amount of meshes you are using in your game. You can try and make one whole mesh car without huge details. One example could be the cars in ER:LC. They contain one mesh model (with no inside detail) and makes the game less laggy for everyone.
The UnionOperation combines parts together into a single solid model. To use it, select the parts you want to combine and click the Union button in the Model tab. This will create a new part called Union. This function can be used in conjunction with NegateOperation to shape, resize, and create holes in solid models.
Unions build worker power by helping members stand together for better wages, fair benefits, safe and healthy workplaces, and stable work hours. Unions also help workers gain more rights and power in their workplace – and have more of a say over their working conditions – by serving as a counterbalance to management.
Thanks. well yes, scripts are literally the main source of lag, but checking for errors can be stupid hard. so I would recommend checking your memory usage getting rid of scripts temporarily then checking it again to see if it changes anything, this can narrow down your choices.
System Lag If it is, try closing any unwanted apps to make sure they aren't taking up system resources that Roblox may need to run properly. If your device still experiences lag beyond this, you may need to upgrade it or play Roblox on a more powerful device.
If yes there's no problem with lots of parts in game, the problem it's like 100 parts in the same place, if your pc it's not a war machine try to run the game on it, i think it's not gonna lag, again because of network ownership, roblox only loads parts that are near the player, the far ones the server load them for ...
In the 2018 Roblox Developer Conference, it was announced that meshes are indeed better than unions.
The UnionOperation combines parts together into a single solid model. To use it, select the parts you want to combine and click the Union button in the Model tab. This will create a new part called Union. This function can be used in conjunction with NegateOperation to shape, resize, and create holes in solid models.
One way to avoid lag is to try and limit the amount of meshes you are using in your game. You can try and make one whole mesh car without huge details. One example could be the cars in ER:LC. They contain one mesh model (with no inside detail) and makes the game less laggy for everyone.
Graphics LagWhile playing, open the in-experience menu by pressing the Esc key.Go to Settings.Under the GRAPHICS section, you can check the graphics level of Roblox.To lower the level, first toggle the Graphics Quality - Auto to disable it. Then make any necessary adjustments to lower your level.
the stravant. That and infinite wait () loops. An infinite wait loop, or even something that happens every single frame, isn't that expensive. Just don't have too many of them running because like anything else, they will add up to a noticeable cost.
An infinite wait loop, or even something that happens every single frame, isn't that expensive. Just don't have too many of them running because like anything else, they will add up to a noticeable cost.