Substance materials and asset bundles

I’m getting “invalid procedural material” when I try to instantiate a prefab with a substance material from an asset bundle. The substance will load when I check “Generate at Load”, but I will still get “invalid procedural material”. When I don’t have it checked, I only see a blue material, and calling RebuildTextures() does nothing.

I’ve tried this with our own custom substance, and also with the substances used in airstream, and I get the same problem each time. Does Unity currently support substance materials inside asset bundles?

The invalid procedural material message is intended. It actually means that you can’t edit manually an instance loaded dynamically from an asset bundle, you can only modify it through code.

RebuildTextures() or RebuildTexturesImmediately() should generate the substance though.