Search Unity

Make layout ignore Game view aspect ratio

Discussion in 'Editor Workflows' started by 5argon, Jun 1, 2019.

  1. 5argon

    5argon

    Joined:
    Jun 10, 2013
    Posts:
    1,555
    So far the only problem with the layout preset system for me is the fact that it remember Game view selected aspect ratio. Layout persists between projects, and I have multiple projects that is portrait-only or landscape-only.

    I ended up having to create 2 versions (Pt = Portrait, Ls = Landscape) of layout for everything in order to not having to set the aspect ratio to the intended one of my game again. (an exception is unit test layout since game view and scene view is not visible) Could you add a preference option to ignore aspect ratio serializing in the layout? Or any way to band aid this?

    Screenshot 2019-06-01 16.57.32.png