Nested canvas override sorting input problem

I use override sorting with a nested canvas, but the input won’t work in this canvas. Is there something I missed or it’s a bug? (I’ll file a bug if it’s the case)

See my screenshot. Input work fine in Canvas1/Canvas2, but I can’t click on the button Override Canvas. The number on the button are the canvas sorting order

2 Likes

No problem here. I forgot a Graphic Raycaster on the nested canvas.

-Create GameObject / UI / Canvas : Add a graphic raycaster by default
-Add Component / Canvas: You need to add manually the raycaster

16 Likes

Thank you so much for this. I was having a difficult time understanding why nested canvases did not respond to Click events until your comment instructed to add the Graphic Raycaster component to the nested canvas.

5 Likes

Thank you so much!! that solved my problem finally !