- Home /
Image on non-root Canvas (behind UI Images)
I am trying to set a background image to a non-root Canvas in my scene. I am able to easily set the background image of the root Canvas and see it in the editor, but images set to any other Canvas do not show up. Even though I can add the Image component to it, I cannot see the image. I want to set a background image to the child Canvas since eventually it will contain other Image objects set in a grid layout, each with a transparent background. I'm new to this, so some help or guidance is very much appreciated.
Answer by bcapo25 · May 25, 2020 at 11:28 PM
I fixed this problem by placing the UI components in a Panel.
Answer by unity_8o0VCZu0dFDNEw · May 23, 2020 at 10:08 AM
you should set the root canvas in mode "Screen Space - Camera" and create a new camera for the root canvas
in this example the image with Hegel will be above the image with the texture of the wood.
Thanks for your reply. I set the root Canvas to "Screen Space - Camera" and set it to use the new UI camera. However, the image attached to the inner Canvas is still not visible.
Your answer
Follow this Question
Related Questions
Draw a Sprite Round 1 Answer
How would I display a partial image on a canvas in the new UI system? 1 Answer
GUI objects magenta square issue 2 Answers
User selected canvas background sprite 2 Answers
Make image render in front of objects 0 Answers