Can't dirty and cook, PDG for Unity Terrain 2020.3.34f1
5515 7 4- slient
- Member
- 1 posts
- Joined: 5月 2022
- Offline
Hello, I have a problem, which can't be solved after checking a lot of information.
unity:2020.3.34f1, houdini:19.0.589
The first time I cooked, the result was correct. But i dirty&cook, and the result is wrong. At this point, the terrain will be flattened into a height map and the size will be reduced.
After checking, I found that the reason is that houdini's node added attributes other than mask and height to terrain, such as base, water, cliff, etc. If only the mask and height attributes are kept, I can normally dirty&cook.
How can I solve this problem? I'd appreciate any information!
unity:2020.3.34f1, houdini:19.0.589
The first time I cooked, the result was correct. But i dirty&cook, and the result is wrong. At this point, the terrain will be flattened into a height map and the size will be reduced.
After checking, I found that the reason is that houdini's node added attributes other than mask and height to terrain, such as base, water, cliff, etc. If only the mask and height attributes are kept, I can normally dirty&cook.
How can I solve this problem? I'd appreciate any information!
- cgwill
- Member
- 7 posts
- Joined: 8月 2022
- Offline
- grumiauxl
- Member
- 9 posts
- Joined: 10月 2018
- Offline
- cgwill
- Member
- 7 posts
- Joined: 8月 2022
- Offline
- fayju
- Member
- 1 posts
- Joined: 4月 2018
- Offline
Hi guys I'm having the same issue. Has anyone found a work around? I need the other layers for texturing.
I feel like I used to be able to have more than the Height and Mask layers, but updated recently so is this a new bug?
Also I'm getting an error in the unity console -
Cheers for any help
I feel like I used to be able to have more than the Height and Mask layers, but updated recently so is this a new bug?
Also I'm getting an error in the unity console -
Assertion failed on expression: 'spResult == PixelAccessReturnCode::kOk'
UnityEngine.TerrainData:SetAlphamaps (int,int,single)
Cheers for any help
- swSharkBoy_02
- Member
- 10 posts
- Joined: 9月 2019
- Offline
- swSharkBoy_02
- Member
- 10 posts
- Joined: 9月 2019
- Offline
- arjan_meerten
- Member
- 3 posts
- Joined: 8月 2019
- Offline
-
- Quick Links