Normalized view rects and render textures

I think I’ve found a bug.

I’ve got this scene with two cameras in it. One of them is looking at a plane that has a render texture on it. The other is recording the render texture. When the camera that’s recording the render texture has a 1:1 normalized view rect, everything is fine. But when It’s something different, some weird stuff happens – the render texture’s image becomes distorted. I’ve tried releasing and discarding the render texture’s contents in an update function, but nothing changes! It’s totally stopping the project I’m working on from being completed. I have pictures here to explain the situation in detail. What could I be doing wrong?

Imgur

Imgur

Help me, Obi Wan Kenobis, you’re my only hope!

Figured it out. I needed to mess with the tiling and offset on the materials of the rendertextures. Silly me.