My game uses a lot of terrain for different planets, so using Terrain:PasteRegion() helps a TON with lag.
However, it seems that pasting terrain will also remove all the terrain that already exists.
I haven’t seen any other people with an issue like this, can someone help?
Do you mean that it entirely replaces the terrain without smoothly merging it in the pasted area? Probably pasteEmptyCells argument (the third argument of this function) is set to true by definition and you should call it like this: Terrain:PasteRegion(old, new, false) including the boolean (false or true). This means you paste all terrain except for air. If you mean all the terrain everywhere is deleted then maybe you define the copyregion correctly but didn’t do so with the pasteregion? I’m not sure why that would happen without some more info.