hda in unity returns invalid argument [SOLVED]

   6531   5   0
User Avatar
Member
101 posts
Joined: Feb. 2015
Offline
I am trying to load a very simple hda into unity, and it refuses to recook after I made a minor change in the hda and tried to rebuild it. It doesn't build even if I undo the change I made in the hda.

unity debug log window prints :
Obj(id: 1, name: geo1): Invalid argument given: Tempated geo did not cook. Geo info may be out of date.
Object Path: /obj/turret1/geo1


for every subobjects in the asset. ( 2 in my case )
I am using houdini indie 14.0.291
and houdini engine 1.9.17

is it a bug or am I doing something wrong ?

Here is the hda file.
Edited by - April 16, 2015 12:11:00

Attachments:
turret.hdalc (8.8 KB)

https://vimeo.com/user43710534 [vimeo.com]
User Avatar
Member
101 posts
Joined: Feb. 2015
Offline
I think I found a solution to my problem.
Everything works fine as long as I check on the “import Templated Geos” which is located in the cooking options of the hda root element, or on houdini engine settings inside unity.

I hope it can be useful to someone with the same issue.
https://vimeo.com/user43710534 [vimeo.com]
User Avatar
Member
402 posts
Joined: March 2013
Offline
Upgrade to the latest nightly build of Houdini and that error should go away even with “Import Templated Geos” turned off. Let me know if it doesn't.
User Avatar
Member
101 posts
Joined: Feb. 2015
Offline
I have upgraded to the last daily build : 14.0.305

I'm afraid it doesn't solve the problem. There is some evolution though :

Error in the console is gone. but one of the 2 objects in the hda doesn't appear , though it present in unity hierarchy window this time, as “uninitialized_geo”.

fortunately checking “Import Templated Geos” in global settings still solves the problem.And by the way, checking the option on the hda itself doesn't work , contrary to what I wrote in the previous post.

hope it helps.
https://vimeo.com/user43710534 [vimeo.com]
User Avatar
Member
402 posts
Joined: March 2013
Offline
Is the one of the 2 objects that doesn't appear the one that is templated? If templating is off then templated goes won't appear (or be cooked even).

Also, when you say checking the option on the hda itself doesn't work, did you “Rebuild” the asset? The option does not get applied right away.
User Avatar
Member
101 posts
Joined: Feb. 2015
Offline
ok ! it hits me now : I wasn't paying attention to the template flag in houdini at all. I thought only the display flag was important.
Indeed , it was the the node with the template flag “on” that was disappearing in unity. I unchecked the template flag in my hda, and everything works fine now, even without “import templated geo” checked on.

Thank's a lot for the info.
https://vimeo.com/user43710534 [vimeo.com]
  • Quick Links