Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Aspect ratios for all my cameras got screwed up after updating to Unity 2021.1

Discussion in 'Cinemachine' started by Somnesis, Apr 6, 2021.

  1. Somnesis

    Somnesis

    Joined:
    Feb 27, 2020
    Posts:
    22
    Unity version: 2021.1.1
    Cinemachine version: 2.7.3

    Using a physical main camera with: 35mm academy lens, and Gate Fit Horizontal (the Unity default).

    After this update it seems like any time there's a virtual camera present in the scene, it sets the main camera's gateFit to None. I have literally hundreds of virtual cameras across dozens of scenes.

    Currently I have line 858 of CinemachineBrain commented out as a workaround. What's a proper fix to this?

    Thanks!
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,233
    Thanks for reporting that. Indeed, this is a regression in CM 2.7. We are working on a fix. In the meantime, you can downgrade CM to 2.6.x
     
    gaborkb likes this.
  3. Somnesis

    Somnesis

    Joined:
    Feb 27, 2020
    Posts:
    22
    Okay thank you! So there won't be any data loss or incompatibilities doing a downgrade? I've already saved all my assets with 2.7.
     
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,233
    My feeling is that it should be ok, but... best to make a test
     
  5. Somnesis

    Somnesis

    Joined:
    Feb 27, 2020
    Posts:
    22
    Updated to 2.7.4 and it seems like this isn't happening any more. Has it been fixed? That way I can get rid of my local patch to 2.7.3. Thanks!
     
  6. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,233
    Yes it's been fixed