Camera problems with resizing

Hi everyone, I will try to explain my problem as clear as possible. I suspect there is something really small that I am missing.
At the moment I have my scene with the following elements:

Main Camera

  • UI canvas
  • pause button
  • etc …

Game canvas

  • player
  • game object 1
  • game object 2
  • etc …

At the moment I update the camera position with the player’s position such that the camera follows the player.

The UI canvas:
render mode: screen space - camera with the Main Camera

The Game canvas:
render mode: world space with the Main Camera

Changing render mode of the Game canvas to “screen space” freezes the camera position, nothing moves.
My aim is to follow the player with the camera, and at the same time I would like to resize the game canvas based on the device screen.

Maybe my approach is not the most efficient/correct one. Any help is appreciated, Thank you!

It looks to me like you’re discussing UI so please note that the UI forums are here. This forum is primarily for 2D features etc.

1 Like

Can you put this post in the right section then ? I thought it had something to do with the camera so that’s why it’s here.

You seem to be discussing Canvas which is a UI thing but also the Camera isn’t a feature of the 2D team either.

I can move your post to UI which is what it seems to be about.