Can you read pixel value of material / dynamic material

I can read the pixel value of a Texture2D. There are answers regarding that here on AnswerHub.

Is the pixel data available from a dynamic material instance?

I want to apply changes to the material at runtime, then read pixel data.

Thank you

You can read the pixel data of an Texture2D but only if you are in editor, that data get’s stripped out when cooking so you have to hold it in your own data structures.

Regarding a DMI, you might want to use a render target, these two posts might get you started: Output material to render target and Print a post process on Texture.

I compiled development and shipping. Cooked, made a Development Build and made a Shipping build. I was able to read the data from a Texture2D at Runtime in both Development and Shipping build.

So, something changed or the documentation is wrong because it works at runtime.

I’ll accept your answer, because no one else even bothered. But, the correct answer appears to be. No.