Reading RTT issues with android

Hi,

I have the following setup:
I created a “render texture” asset in my project.
I have a camera that renders to it with depth -1,
and another camera that has a material that reads from it with depth 0.

It works fine in the editor.
However, on android, the texture samples are coming up empty.
I enabled frame debugger and compared outputs, and got a strange result:

In the editor I see this:

But on android I see this:

The biggest difference is that the _DifferentiationMap pointer comes up EMPTY on android!

Is this a bug in unity? Does anyone have an idea on where I can look to solve this?

Update : It was because I was using R8 texture format, which is unsupported on android :frowning:

1 Like