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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Unity keeps changing antiAliasing setting in QualitySettings file randomly when opening project

Discussion in 'Editor & General Support' started by Xarbrough, Nov 19, 2019.

  1. Xarbrough

    Xarbrough

    Joined:
    Dec 11, 2014
    Posts:
    1,184
    Small annoying issue: One of our developers checks out a copy of our project and opens it on his computer. Without having done anything, the QualitySettings file is shown as changed in our version control system.

    QualitySettingsDiff.PNG

    The developer than commits the file, because "hey if Unity wants this setting to be an 8, let's go". As far as I understand we don't really care about this setting because we are using LWRP and Anti Aliasing is set on the pipeline asset and not in the project settings (maybe I'm wrong, but it shouldn't matter for this issue).

    Now, another developer opens the project on his machine and suddenly the setting antiAliasing: 8 becomes antiAliasing: 0 again. I keep reminding everyone on the team to discard files, if they haven't actually made any changes, but it doesn't help. Sometimes you do need to make a change, e.g. set softParticles enabled, and suddenly you also commit the AA setting or people simply overlook the file in version control.

    After a while this looks like this:
    ChangesetsQualitySettings.PNG
    Only two commits of this list are actually intended changes to the QualitySettings file. Everything else is just noise caused by Unity. And this is only one of the many examples of files being touched or changed by Unity, when there is no reason for a change.

    I would love to report this as a bug, but I have no clue what this might be related to or what triggers it. Sometimes it doesn't happen and it also seems to only be a difference between machines. Maybe it is caused by having different GPU hardware, I really can't tell.

    Does anyone experience similar issues or has an idea how we can avoid this?

    Files being dirtied like this by Unity is a pretty common issue and I would hope that Unity could implement more serialization tests, maybe also tests that are forced to run on different hardware and compare their results.
     
  2. shodgson_nl

    shodgson_nl

    Joined:
    Jan 8, 2018
    Posts:
    9
    Xarbrough likes this.
  3. AbsurdAndy

    AbsurdAndy

    Joined:
    Dec 6, 2019
    Posts:
    47
    That issuetracker item says "Fixed in 7.3.1" but we're on URP 7.3.1 and still seeing this in our project. (Using 2019.3.13f1)
     
    Last edited: May 15, 2020
  4. Xarbrough

    Xarbrough

    Joined:
    Dec 11, 2014
    Posts:
    1,184
    Hm, verified with Unity 2020.2.0a7, but it's still happening with Unity 2019.3.8f1 with URP 7.3.1 for me as well.
     
  5. jake_card

    jake_card

    Joined:
    Oct 2, 2014
    Posts:
    57
    Still happening for me on Unity 2019.3.13f1 with Universal RP 7.3.1. Hope it gets fixed soon!
     
  6. Alexaroth

    Alexaroth

    Joined:
    Feb 4, 2019
    Posts:
    29
    Still happening with latest 2019
     
  7. floky

    floky

    Joined:
    Oct 6, 2010
    Posts:
    273
    Can also confirm!
    Super annoying issue. Still happening on 2019.3.14f1.
     
  8. gillemp

    gillemp

    Joined:
    Nov 23, 2015
    Posts:
    81
    The issue is related to the URP package, not to the UnityEngine itself. So to solve it you should update to URP 7.4.0.
    The bug was fixed again for this version. See the changelog here.
     
    TheWarper likes this.