sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.3k stars 368 forks source link

Instancers set to an existing Foliage Type not work in UE4 #271

Open ZanpleLee opened 8 months ago

ZanpleLee commented 8 months ago

Hi. I'm on Houdini 19.5.752 and UE4.27. And I am trying to generate foliage in a scene using Houdini Engine's Instancer, but I am unable to generate foliage using existing foliage types as described in the documentation. After baking, it always creates a new Static Mesh type of Foliage Type.

I've tested this in a simplistic project with the most basic HDA, HDA outputs 5 points, and each point has "unreal_foliage = 1" detail attribute and "unreal_instance = FoliageType_InstancedStaticMesh'/Game/Cube_FoliageType.Cube_FoliageType'" point attribute.

When I tested in UE4.27, the result after baking always creates a new Foliage Type, but it work in UE5.2.1 , it's generated what Foliage Type I set up and have not create a new one.

Is it possible to merge the fixes for UE5 into Houdini Engine for UE4.27? Help would be greatly appreciated.

Snipaste_2023-11-02_19-42-50