I’m trying to assign a material to a node and have been unsuccessful, when passing the arguments to assignMaterial in accordance with the docs (Viewer API - Functions - Sketchfab) i always get the following error: ‘Couldn’t find node, make sure node.instanceID is set with a proper value’.
After digging through the minified source it seems that the function is expecting a node instead of a nodes instanceId. Trying to pass in the node, no error is returned however nothing happens.
Ive made a codepen with a modified version of the configurator example to demonstrate the problem. Which you can find here: