Thanks for this, it helps me a lot.
I have a question: I set my Canvas Scaler of my UI to Scale with screen size, at ref res 64x64. But it seems it does not match the 64x64 resolution. Witch make sense I guess: the UI is rendered in front of the main camera, not on the 64x64texture. Is there a way to render it in the target texture?
How do you handle this?