I have been struggling with this problem and I can’t get it fully work. I have used this method in order to render the actual scene to pixels. How can I render also the ui in the render texture?
I think by following these steps you’ll be able to solve the problem:
- Select the Canvas you’re using to render the UI and have a look at the RenderMode property. Change it from Screen Space - Overlay to Screen Space - Camera.
- All the properties should not be changed except for the PixelPerfect property. Tick the Pixel Perfect textbox as it’s appropriate for your case and just assign the Camera that you’re using to render the Plane.
This should fix the problem, cheers.