Mingqian Wang

Mingqian

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

HEU_HoudiniAsset::RequestCook is not completely synchronous? Nov. 11, 2022, 7:09 a.m.

Hello,

I have an HDA that takes two inputs(a unity mesh and a houdini curve) and generetes a new mesh. I'd like to set the input nodes and do something with the generated mesh in a script. I had something like this:

//Set input nodes
...
MyAsset.RequestCook(true, false, true, true);
MeshFilter meshFilter = MyAssetGO.GetComponentInChild<MeshFilter>();
...
//do something with the mesh

The above code works in 18.5.545 but not in 19.5.403. GetComponentInChild would return null after RequestCook but bAsync is set to false.