検索 - User list
Full Version: Can't dirty and cook, PDG for Unity Terrain 2020.3.34f1
Root » Houdini Engine for Unity » Can't dirty and cook, PDG for Unity Terrain 2020.3.34f1
slient
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!

cgwill
I am having the same issue. Did you ever find a real solution to it? Thanks in advance.
grumiauxl
Did you try to blast other layers than height & mask just before your output? Other layers cames from Erode node I guess
cgwill
You are right, with blasting away the other layer it works. Some of those layers would be needed though for the texturing. But i guess i have to figure something out. Cheers
fayju
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 -

Assertion failed on expression: 'spResult == PixelAccessReturnCode::kOk'
UnityEngine.TerrainData:SetAlphamaps (int,int,single)

Cheers for any help
swSharkBoy_02
I also have this problem, I only include layers I need for texturing:
I get the same error:

Assertion failed on expression: 'spResult == PixelAccessReturnCode::kOk'
swSharkBoy_02
Ill answer my own post, this was because the splatmap layers was not power of two. It's only the height that needs power of 2 +1
arjan_meerten
swSharkBoy_02
Ill answer my own post, this was because the splatmap layers was not power of two. It's only the height that needs power of 2 +1

Thank you for this!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB