unity scripts callback

   1992   3   0
User Avatar
Member
2 posts
Joined: 5月 2019
Offline
i test the unity scripts callback use HEU_Example_Unity_Script in the plugins. It worked fine. But when i change the grid node to heightfield node. It doesn't work fine. It log the warning “Houdini Engine for Unity only supports unity_script as detail attributes!”. I debug the scripts. In the methode GetUnityScriptAttributeValue. When i use the grid node, the HAPI_AttributeInfo.owner and HAPI_AttributeInfo.originalOwner are both HAPI_ATTROWNER_DETAIL. When i use heightfiled node, the HAPI_AttributeInfo.originalOwner is HAPI_ATTROWNER_DETAIL but the HAPI_AttributeInfo.owner is HAPI_ATTROWNER_PRIM. So it log the warning. I don't know why it changed. And how i can use the scripts callback when i use the heightfield node?
User Avatar
Member
571 posts
Joined: 5月 2017
Offline
This is probably a bug. I'll update when it has been fixed. Are you using 17 or 17.5?
User Avatar
Member
2 posts
Joined: 5月 2019
Offline
seelan
This is probably a bug. I'll update when it has been fixed. Are you using 17 or 17.5?
I'm using 17.5
User Avatar
Member
571 posts
Joined: 5月 2017
Offline
Fixed in 17.5.322
  • Quick Links