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));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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