Problem summary
3D nodes fail to evaluate their Op graph if they depend on a parameter that has an expression that references a node of certain types such as Render and VariableEnabledGroup (e.g. getNode('Render') or =Render/passName). Viewing such a node yields an 'error scene graph' with an unhelpful error message:
'<node name>' node error: Unable to cast from non-held to held instance (T& to Holder<T>) (compile in debug mode for type information)
Customer reported version
katana.4.5v1
Customer reported platform
rhel7
Steps to reproduce
Create a LocationCreate node, a CollectionCreate node, and Render node and connect them.
Select the CollectionCreate node and set the 'name' parameter to an expression that references the Render node, for example '=Render/passName'.
Expected behaviour
The scene graph is correctly evaluated.
Actual behaviour
The scene graph is an error scene graph (only /root), with an errorMessage attribute of the form described above.
Workaround
Unknown.
Reproduced by support
This bug has been reproduced in:
Katana 5.0v1 - Windows 10
Katana 4.5v1 - Windows 10
Katana 4.5v1 - CentOS 7
Unable to reproduce bug in:
Katana 4.0v7 - Windows 10
Katana 4.0v1 - Windows 10
Earliest version tested
Katana 4.0v7 - This issue doesn't appear in this version and has regressed