sideeffects / HoudiniEngineForUnreal

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

Labs Maps Baker fails to bake textures when used inside of HDA (editable enabled) with HE for UE5 #208

Open illia-statkevych opened 1 year ago

illia-statkevych commented 1 year ago

Hi SideFx team,

NOTE: This issue is not related to making Maps Baker editable in the HDA as explained here: https://www.sidefx.com/forum/topic/72425/?page=1#post-306694

Even when it's made Editable the HDAs often exit with the Finished Processing Outputs message and no textures baked with the following message in the logs:

LogActorComponent: RegisterComponentWithWorld: (/Game/Main.Main:PersistentLevel.HoudiniAssetActor_UAID_E4B97AEA9EECA64201_1822126071.StaticMeshComponent_4) Already registered. Aborting.

A workaround I have found is to duplicate the HDA inside of the UE5 scene, let it cook, and hit the bake button on the copy, then it works. Sometimes it needs to be done twice.

Exactly the issue and the workaround that's shown in this video: https://youtu.be/U4uLy1P3X4g?t=1038

This issue makes it difficult for users to use HDAs even with the workaround especially if HDA's cooking time is slow.

Thank you for looking into this!