0
votes

It's been a while since i opened Unity and I am having some trouble with one of my scenes. That scene has an overlay canvas which i can see in the editor.

I used to be able to double click on the camera and that would take me to my main scene contents(background and other sprites etc..). Now, when I double click, it does take me to the camera view but whatever is in there is now behind the canvas for some reason, and so I cannot see any of its elements.

Notice that the game displays just fine when the game runs, so the camera position is fine. It's just that I cannot edit whatever the camera shows, because it gets overlaid by my canvas on the editor. Any ideas ?

enter image description here

1
Maybe a screenshot of what's actually going on? - Programmer
added :) Thanks ! The Purple color is part of the Canvas HUD. - Spyros

1 Answers

1
votes

You mistakenly rotated the camera in the Scene View and positioned it where everything is being blocked.

Things to try:

1.Select your 3D model from the Hierarchy tab, move the mouse into the Scene View and press F. This should focus the camera back to the 3D model.

2.If that did not work, hold the Alt key, position the mouse in the Scene View, hold down the left mouse button then try to mouse the mouse. This should rotate the camera to an angle that don't block the screen.

3.You can also use the mouse scroll-wheel to move the camera in/out of the UI in the Scene View. Do this if #1 and #2 did not work.