I can’t seem to get the GameObjects from going on top of the GUI I was wondering if anyone could help me out. This is what I see on top of the Pause menu:
As you can see, I am using the built in 4.6 GUI and it is 2D. I have tried everything i could think of. Changing sorting layer, changing order layer, changing actual z dimension. Any help would be greatly appreciated.
I have few qestion about your issue.
What is your canvas render mode ? (Screen Space - Overlay, Screen Spcae - Camera or world space)
Did you adjust Opecity of you UI object (sprite / image componant)
May be was due to canvas rander mode.
I did assign a camera to render camera, and its still not working.
Same problem here. Either the canvas displays as 10.000% the size of my game, or when I assign a camera to the canvas, the GUI appears behind the game objects - no matter what kind of z ordering is applied.
It seems that Unity2D is not working nicely with the GUI system at all.
I have now resorted to making all my GUI elements just simple game objects with mouse click events.
This works much faster and it’s easier to align the GUI with the rest of your game scene.