Error exporting embedded HDA

   1848   3   2
User Avatar
Member
38 posts
Joined: July 2020
Offline
Hi, I have this problem that you may help me with.

I have a Digital Asset named "HDB_Defects.hda" with another HDA embedded in it (Group Randomizer), as you can see in the image below.





The problem is that when I try to open HDB_Defects.hda in Unity with Houdini Engine it gives me an error and it seems that it's because is unable to find the embedded Group Randomizer hda.




When I delete all connections with this hda, the error disappear that's why I can assume it's related to it.

Is there any way to keep the embedded hda and make it work when I export the HDB_Defects.hda ?

Thank you guys.
Edited by Haruko - Oct. 27, 2022 05:14:43

Attachments:
Captura3.PNG (33.4 KB)
Captura4.PNG (27.5 KB)

User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
I have no experience with Unity, but afaik if you use the HDA in the same machine, there should be no problem if it uses other hda saved in other libraries.


One thing that you might try, is to go to Assets menu -> Other Asset Tools -> Embed internal assets.
I do this when I need to publish a new HDA and want to make sure that ships with every custom sub-assets used.

It basically finds any non-factory HDA used internally in your main HDA, and save it in the same library, and replace the reference.
Edited by Andr - Oct. 27, 2022 08:47:53
User Avatar
Member
38 posts
Joined: July 2020
Offline
Yes, the idea is sharing in other machines, if I run it in my pc it works.

I have tried you "Embed internal assets" but it gives me back the following error:

An error occurred while trying to embed internal assets

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.531/houdini/python3.7libs\assetauthortools.py", line 454, in embedInternalAssets
changeAssetsToNamespaceVersion(rootNode, childrenAssetsListAll)
File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.531/houdini/python3.7libs\assetauthortools.py", line 430, in changeAssetsToNamespaceVersion
node.changeNodeType(nodeNewType, True, True, True)
File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.531/houdini/python3.7libs\hou.py", line 15701, in changeNodeType
return _hou.Node_changeNodeType(self, new_node_type, keep_name, keep_parms, keep_network_contents, force_change_on_node_type_match)
hou.OperationFailed: The attempted operation failed.


Any clue what is happening and how to fix it?

Thank you a lot by the way.
Edited by Haruko - Oct. 27, 2022 09:47:37
User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
No sorry,
I guess it's better you ask to the Support at this point, it might even be a bug.

cheers
  • Quick Links