I used to be able to set the material for the custom preview component directly by supplying a file path.
Here a minimal example:
Since a while (sorry, not sure how long - this has been on my ToDo list for a while) it throws the shown error:
“1. Object reference not set to an instance of an object.”
I’ve tried using the file path component, but not success, and can’t find any hints online.
Was there an update to grasshopper somewhere? Any ideas why this is no longer working?
When I found the possibility to point directly to materials via a path I was super excited last year. That was very handy. Would be a shame to lose this functionality now.
Thanks a lot for any hints!