Camera not displaying what is seen in scene view.

Hi All,
I’m sure this is easy, but it’s been driving me a bit batty. I made a camera - “library camera” that should pan and zoom only around the bookshelf in my scene. In scene view with the game running, the camera shows, pans, and zooms just as I expect it to (pic 1) - see upper left corner where camera view is shown. But in game view it stays locked in the zoomed out version where the whole scene is visible (pic 2). Why am I not able to see the scene through the library camera? All other cameras are disabled.

I appreciate any help :]


Is the viewport simply expanded due to the higher screen resolution?

Also worthwhile checking out Cinemachine since controlling multiple cameras is a breeze and you can easily make them center in on a given rectangle.

2 Likes

Thanks for your reply. It previously worked as I had wanted, so I don’t think it is a screen resolution thing… maybe. I did adjust how the canvas resolution changes with different screen sizes last week. It didn’t affect anything else in this way, but worth exploring. I’ll also take a look at cinemachine - seems super useful. Thanks.

RESOLVED Anyone that gets this far, the problem on my end was a duplicate image in the UI was overlaying the sprite, so I was seeing the UI and not the sprite that the library camera was focused on.