HoudiniEngineForUnity
HoudiniEngineForUnity copied to clipboard
terrain data saved inapproperately when split the terrain
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));