Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

Matching scene view with Camera View?

Discussion in 'Editor & General Support' started by Shadowing, Apr 9, 2018.

  1. Shadowing


    Jan 29, 2015
    Is there a simple way to make my scene view match my Main camera view?
    if not that would be super useful when working on scenes where your camera doesn't move.
    DaPhantomForce and Tymianek like this.
  2. OneManBandGames


    Dec 7, 2014
    You can align your scene view camera to your game camera: Select your game camera object in the hierarchy, and use GameObject > Align View To Selected from the Unity Editor Menu.
    However that only takes care of alignment, your scene view might still look different due to Projection Size, clipping planes, etc.
    I'm not 100% sure if you can fix this via an Editor Script, but the last answer on this thread looks promising:

    If I understand it correctly, this approach would allow you to access the camera object that is rendering your scene view, so you could copy all your game camera parameters 1:1 in a script, then your scene view should look exactly the same.
    ugotstoopt likes this.
  3. Pixasso


    Mar 4, 2020
    I found a few quick methods to help out with this question as it was something that I was recently looking for myself. The methods follow below (Mac & PC-friendly options). I hope that they help anyone looking for this same info…

    1. Key Command Method - While selecting your camera within the Hierarchy press the following keys:
    a. Mac = Command + Shift + F
    b. PC = Control + Shift + F

    2. Main Navigation Option - While having your main camera selected navigate to the applications main menu:
    GameObject > Align With View
    d2clon, Tymianek, Sovednerot1 and 6 others like this.
  4. nakoustix


    Apr 21, 2019
    perfect! thank you very much! I wasn't aware of this command and when I, for myself, stumbled across @OP's problem, your input was very helpful.