Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terrain data saved inapproperately when split the terrain #10

Open
JaryGuo opened this issue Oct 25, 2019 · 0 comments
Open

terrain data saved inapproperately when split the terrain #10

JaryGuo opened this issue Oct 25, 2019 · 0 comments

Comments

@JaryGuo
Copy link

JaryGuo commented Oct 25, 2019

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));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant