HoudiniEngineForUnity icon indicating copy to clipboard operation
HoudiniEngineForUnity copied to clipboard

terrain data saved inapproperately when split the terrain

Open JaryGuo opened this issue 6 years ago • 0 comments

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

JaryGuo avatar Oct 25 '19 10:10 JaryGuo