Skip to content

terrain data saved inapproperately when split the terrain #10

Description

@JaryGuo

when I split the terrain, all the terrain data saved to the same path in unity, and the cooked result shows wrong in unity scene.
I read the code and found something may wrong here.

In HEU_GeoSync the function GenerateTerrain,

string assetPathName = "TerrainData" + HEU_Defines.HEU_EXT_ASSET;
HEU_AssetDatabase.CreateObjectInAssetCacheFolder(terrain.terrainData, outputTerrainpath, null, assetPathName, typeof(TerrainData));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions