Help with big game issue

I want to solve this annoying connection issue when I generate trees for my procedurally generated planets.

When I generate the trees I get disconnected even with a dynamic loading system.

[The Error Says: Plase Check Your Internet Connection and Try Again. (Error Code 277)]

I’ve tried Making the part count a lot smaller and adding a dynamic loading system, it worked until I added more detail to the trees.

Trees Are Like That, They’re procedurally generated so I can generate as much trees as I want:

Please HELP.

1 Like

If the loop that generates the trees doesn’t have a wait() in it and has too high of a load, it will crash. You could try adding a wait() if there isn’t already one.

If this tip doesn’t help solve the issue, may I see some of the code?

1 Like

I’ve managed to solve that, see:

The first part and the most important generates a 4500 studs diameter sphere using two loops with a wait(), it uses cframe values to represent every tree, then a ray is casted in direction of the sphere, a reference cframe value is lowered and a remote event gets fired with the cframe value’s value.

Then every client has the oportunity to generate trees whenever they’re close to a cframe, when the tree gets chosen from a folder the tree is sent to the server, the server clones the tree and sends it to all the clients so that they can render it, then the cframe is removed from the array.

I’ve disabled client side tree generation and it worked, I also have plant and mineral generation so the problem seems to be trees.

also I made a similar post a while ago and someone posted a link of possible connectivity issues on roblox.
The article had a section saying a lot of polygons cause this, it also said that this issue was recent