First of all THANK YOU SO MUCH for this! This is saving me so much headache already.
It's not working for a couple of materials in one of my files. It WILL work in a new project if I apply those materials to surfaces and paste them in a new project... do you know why this might be? ie maybe it doesn't work with components?
2019 file attached