When I use:
SubstanceGraph _substanceGraph = _proceduralMaterial.Duplicate();
and then at a later time I do the following:
_proceduralMaterialMaps.QueueForRender();
_proceduralMaterialMaps.RenderAsync();
_textureMaps = _proceduralMaterialMaps.GetGeneratedTextures()[0];
_material.SetTexture("_TexMaps", _textureMaps);
I a yellow corrupt texture.
See attached picture.
I tried to also tried doing RenderSync() as well as doing GetGeneratedTextures() after a delay, but the textures are always yellow/corrupt.
Any ideas how to fix this?