When you try to :PasteRegion() on the server, it works fine but when you try do it on the client it just doesn’t work at all.
TerrainBug.rbxl (13.9 KB)
There’s a script in ServerScriptService and a localscript in StarterPlayerScripts so you can see, the code is exactly the same but only the server one gets pasted in
TerrainRegions don’t replicate by design, which is why it won’t work client-side. It’s documented on the PasteRegion page:
Arguably, this should be documented on the main page for the TerrainRegion object, not on one of its methods.
Doesn’t that mean if i have a TerrainRegion in serverstorage and decide to parent it to workspace, then it wont replicate?
I thought that since it exists on the client from the beginning that it should be fine
The object replicates, but the data within the object does not. Kinda weird. Check out @zeuxcg’s response to this on my thread a few years ago:
Dang, ig I’ll just keep the terrain fully loaded then split it up into regions on the client instead
Yeah I wish there was a better option
Hypothetically speaking, couldn’t you load the entire terrain on game start, and have the player locally segment it and clear it from view thereafter?
Yeah that’s exactly what I’m doing