Rendering multiple times to Canvas Render Target 2D

Heya,

I am attempting to create a canvas render target 2D and draw multiple textures to it over time. The problem I am facing is that every time I trigger the OnCanvasRenderTarget update function, my existing CanvasRT seems to be still be empty. Thus, my idea of drawing White Backdrop -> Existing CanvasRT -> New Texture doesn’t work. I only ever see the last texture drawn.

Here’s my setup:

Any ideas would be greatly welcome!

Best regards,
Damir H.

Edit:

Turns out engine modifications are needed for this nowadays. Pull request here I come! Thanks to @JamesTan

I usemultiple canvas render targets for this.

Heya,

Thanks, this is great info. I’ve since solved the issue in a different manner but it’ll sure become useful down the line.

Best regards,
Damir H.