Hi guys, i need to some help with some scripts as i have no idea how the code
I have basically stitched 2 maps together with Terrain Stitcher and have 3 BCE0005 Errors and i have no idea how to fix them as i have no coding knowledge what so ever
Here are the lines i need fixed if anyone can be so helpful,
var terrainObjs = new Array(EditorUtility.CollectDeepHierarchy([terrain1, terrain2]));
terrainObjs = terrainObjs.concat(new Array(EditorUtility.CollectDeepHierarchy([terrain1.terrainData, terrain2.terrainData])));
Undo.RegisterUndo(terrainObjs.ToBuiltin(UnityEngine.Object), “Stitch Terrains”)
If anyone could point me out what needs to be fixed it would be greatly appreciated.
Thanks in advance,
Andrew