sideeffects / HoudiniEngineForUnreal

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

Baking Static mesh doesn't generate anything because IsObjectTemporary(UObject*, const EHoudiniOutputType&) doesn't seem to work as intended #195

Closed dustars closed 1 year ago

dustars commented 1 year ago

Hi,

I've been trying to bake static mesh in UE 5.1 by assigning unreal_bake_folder, but nothing is generated except files in temp folder. After debugging, I found out line "IsObjectTemporary(InObject, InOutputType)" always returns false, so I changed the last return statement in this method to "return true" and now things work again!

I'm not sure if this is intended or a bug, so I decided to open this issue to bring it up. I'd be appreciated if more info could be given.

Thanks!

dpernuit commented 1 year ago

Hi,

Thanks for bringing this up! You're right, this is wrong, and the function should indeed return true at the end... That issue was likely introduced when backporting the change when we added the "Baked" meta. The change will be in tomorrow's daily build.