Hello, I have a problem with a node material when using the code generated by “Generate Code”.
I suspect the issue is caused by the ColorConverterBlock
. Here’s what’s happening:
- This NME setup works fine in the editor:
NME link withColorConverterBlock
- But the generated code throws an error in the Playground:
Playground link withColorConverterBlock
Cannot read properties of undefined (reading 'connectTo')
- This version works in both the editor and the Playground (no
ColorConverterBlock
):
NME link withoutColorConverterBlock
Playground link withoutColorConverterBlock
Pretty sure this is a bug, unless I am not using the nodes correctly.
Thank you.