Loading Hydra plugin into Houdini.
OdCgarcia opened this issue · comments
I followed the discussion about loading the plugin inside Houdini MoonRay Build Guide for Houdini 19.5.534 I got it listed in the viewport but when I selected, it just crashed with this error ...
WARNING: Crashing creating delegate, this might happen
if the TfType template name doesn't match the string
in the .json file
When using the env "TF_DEBUG=PLUG_*" it does not give me a lot of information other than "Loading plugin 'hdMoonray'."
I am trying to load it in Houdini version 19.5.682 and Moonray version 1.3.0.0
Any help will be appreciated.
Thank you
I haven't seen this message before : I assume it comes from internal Houdini code and the .json file referred to is 'UsdRenderers.json'. This file is under 'houdini' in the hdMoonray repo, and the TfType name is defined in 'src/plugInfo.json'. In both cases the name should be "HdMoonrayRendererPlugin".
Unless you have changed one of these files, there should be no mismatch, so perhaps the comment 'this might happen if...' in the warning is misleading. The most common cause of a crash creating the delegate is a library mismatch between Houdini and hdMoonray : in that case I have seen a link error appear in the viewport message pane.
You might be able to get more info trying other TF_DEBUG options provided by PLUG or HD, otherwise the only option I can think of right now is low-level tracing via strace or ld.debug