big RenderTexture not updated fully

Hi, I have RenderTexture that is bigger than my screen size and is occasionally re-drawn when player moves enough in level.

I use this RenderTexture to render the ground in my level, but it seems that in v3.0 the RenderTexture is not re-drawn totally, feels like only small part of the texture is updated and rest is black. Possibly only screen size portion is updated.

Could it be that only small portion of it is updated and if so how can I get it to update the whole size of the RenderTexture? In 2.2 this used to work, but haven’t got it working in 3.0 yet.

Does it look like the content of the RenderTexture is also scaled down?
There’s a bug in 3.0 with RenderTexture: _fullviewPort and _fullRect have been wrongly switched.


Check the end of the thread, I provide the (simple) fix.

Thanks, I got it working after making that change. :slight_smile:

First it still errored in HD resolution with content scale set to 2. But I got it working now also after moving those content scale multiplications before setting the _fullviewPort.