sideeffects / HoudiniEngineForUnreal

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

AutoBake for HDA generated in blueprint (Process HDA node) is not working #265

Open KeyToon9 opened 10 months ago

KeyToon9 commented 10 months ago

AutoBake for HDA generated in blueprint (Process HDA node) cannot be executed

https://github.com/sideeffects/HoudiniEngineForUnreal/commit/b3d18bb8da59389540bc554dd9314c482804d698#r124751954

Evianaive commented 8 months ago

The bool input of Process HDA node and the other node that can create HDA only set the bool value on Houdini Asset Component without binding delegate. You can check the code of HoudiniAssetComponent UI. It calls FHoudiniEngineDetails::OnBakeAfterCookChangedHelper, which will directly let the manager bake HDA after cook. So what you need to do is adding this piece of code to UHoudiniPublicAPIAssetWrapper::SetAutoBakeEnabled_Implementation if you can compile the plugin youself