Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Quality Settings Randomly Reset

Discussion in 'Editor & General Support' started by Deleted User, Mar 5, 2015.

  1. Deleted User

    Deleted User

    Guest

    Hey guys,

    I keep losing my custom Quality Settings when duplicating my project (for backup) and either have to re-create them or copy the QualitySettings file from the previous project's library to the new one.

    Is there something I'm missing in relation to saving the quality settings, or is this just something that occurs from duplicating a project?

    The problem has occurred through Unity 4.x up to the release of Unity 5 - I'm using Mac OS X Yosemite.

    Thanks you!

    J
     
  2. Jespertheend2

    Jespertheend2

    Joined:
    Jan 14, 2015
    Posts:
    23
    I'm having this problem too. But for me it's not caused by duplicating my project. I'm not sure what exactly is causing it though.
    Right now I just saved the 'QualitySettings.asset' file in the project folder so everytime the qualitysettings get reset I just overwrite the file in my project folder.
     
  3. sedlu

    sedlu

    Joined:
    Nov 12, 2012
    Posts:
    11
    I am also having this problem. It's really annoying and confusing. I have to check the setting every time before I start to build my application. I still could not find the cause, but I guess it may be related to closing the editor application when it is in playing mode.
     
  4. QuantumRyan

    QuantumRyan

    Joined:
    Aug 30, 2011
    Posts:
    11
    I'm experiencing this problem and its been bugging me for months. Anyone know what's going on?

    I'm currently using version 5.3.2f1.
     
  5. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    229
    Same here, on Unity 5.4. :/
    Default quality for all platforms keep resetting back to Fastest all the time.
     
  6. PunkMunkey

    PunkMunkey

    Joined:
    Nov 4, 2014
    Posts:
    2
    Anyone figure anything out with this problem? I've been having the same issue now here, and no amount of scripting fixes seems to have an effect on it. Losing my mind now.
     
  7. isbeorn

    isbeorn

    Joined:
    Nov 11, 2013
    Posts:
    2
    Another entry for this thread.
    I'm also annoyed by this and as clueless as anyone else it seems. I've had this issue throughout a number of unity versions. Now I'm on 2017.1 and still the same thing. I have to check the default quality setting before I produce my builds.
     
    Bryarey likes this.
  8. jeremyplayraven

    jeremyplayraven

    Joined:
    Aug 21, 2015
    Posts:
    6
    I have this same problem. I have no idea what triggers it. Just using Unity normally on iOS platform, and every once in a while it just resets my quality settings back to its default in Unity 2017.1.1f1.
     
  9. HouseFrog

    HouseFrog

    Joined:
    Jan 14, 2016
    Posts:
    31
    Same for me, really annoying
     
  10. Big-Ed

    Big-Ed

    Joined:
    Mar 28, 2015
    Posts:
    14
    Same here, I upgraded an older project to unity 2017.3.1p4 and the quality settings get reset everytime I build
     
  11. glenneroo

    glenneroo

    Joined:
    Oct 27, 2016
    Posts:
    231
    Having the same issue with 2018.3.6f1, but I haven't made a build in weeks. I can't seem to pinpoint when exactly it happens, I thought it was related to changing some GameObjects and running in the Editor but I've been trying the last hour to reproduce and now it doesn't want to happen (for the time being), but generally it happens multiple times per day.
     
  12. MCrafterzz

    MCrafterzz

    Joined:
    Jun 3, 2017
    Posts:
    354
    This happens to my custom project settings as well. Very annoying!
     
  13. austinborden

    austinborden

    Joined:
    Aug 5, 2016
    Posts:
    24
    It's happening to me on 2019.1.14f. It has happened when the only change was importing a new asset.
     
  14. Laumania

    Laumania

    Joined:
    Jun 27, 2012
    Posts:
    221
    Im here too on 2019.2.9f1 and it keeps resetting/jumping around without me doing anything in relation to that. I discovered it because I'm using Git so can see the file keep changing, what appears to be randomly.

    Haven't figured out what is triggering it.
     
  15. Kobald-Klaus

    Kobald-Klaus

    Joined:
    Jun 20, 2014
    Posts:
    127
    same here!
     
  16. ArshakKroyan

    ArshakKroyan

    Joined:
    Mar 4, 2015
    Posts:
    32
    Same issue on 2019.2.8f1
     
  17. dorkybot

    dorkybot

    Joined:
    Dec 3, 2017
    Posts:
    1
    Same problem here. 2019.2.0f1

    @Unity Team: Are you aware and planning to address this?
    Thanks in advance
     
    ArshakKroyan likes this.
  18. levwsr

    levwsr

    Joined:
    Jul 23, 2012
    Posts:
    68
    We are using version control (SVN) and quality settings keeps going back and forth between antialiasing ON and OFF, despite nobody actively touching that setting. Very annoying.
     
  19. TheSwanCollective

    TheSwanCollective

    Joined:
    May 6, 2016
    Posts:
    26
    2019.3
    Antialiasing switching off in Play Mode. What's going on?
     
  20. puzzlekings

    puzzlekings

    Joined:
    Sep 6, 2012
    Posts:
    404
    2018.4 - my quality settings keep getting reset to lowest after each build :(
     
  21. SunnySunshine

    SunnySunshine

    Joined:
    May 18, 2009
    Posts:
    974
    I have this issue too in 2018.4. Each time I build, quality settings will be set to lowest.

    Is there any way to set this setting programmatically?
     
  22. Reahreic

    Reahreic

    Joined:
    Mar 23, 2011
    Posts:
    254
    @willgoldstone

    Bump for 2021 as it seems that this issue has been around for several years.
     
  23. MCrafterzz

    MCrafterzz

    Joined:
    Jun 3, 2017
    Posts:
    354
    One of the largest game engines don't fix an inportant issue like this for years... sad
     
  24. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    565
    2021.2.7f1
    All the Quality platform defaults just reset to "Low" for no reason.
     
  25. Jakub_Machowski

    Jakub_Machowski

    Joined:
    Mar 19, 2013
    Posts:
    647
    Probem stil exist on 2019.4 Lod Bias goes crazy sometimes after exiting playmode.
     
  26. Dahaka444

    Dahaka444

    Joined:
    Jun 15, 2021
    Posts:
    13
    Yup, same for me on 2020.3.11f1. Pretty annoying to have to rebuild every time because that setting reset for some reasons
     
  27. mylastggeast

    mylastggeast

    Joined:
    Jun 14, 2021
    Posts:
    41
    Having the same issue, 2020.3.26. Since this has been around since 2015 I guess the only way forward would be to reproduce this in an isolated project and open a bug report? I cannot find any related to this but it's seriously super annoying
     
  28. JustinAHS

    JustinAHS

    Joined:
    Feb 18, 2013
    Posts:
    33
    2020.3.28f1. Still happening.
    This Heisenbug is annoying as heck.
     
  29. andrew210

    andrew210

    Joined:
    Apr 23, 2014
    Posts:
    241
    Still causing endless annoyance for me on this. Tried setting the file to read only but between version control somewhere i guess it still gets messed up, I wrote this script to copy the "good" version of QualitySettings from the root of the project to overwrite the active one in project settings:

    Code (CSharp):
    1.  
    2. using UnityEditor;
    3. using System.IO;
    4. [InitializeOnLoadAttribute]
    5. public static class CopyEditor
    6. {
    7.     static CopyEditor()
    8.     {
    9.         EditorApplication.playModeStateChanged += LogPlayModeState;
    10.     }
    11.  
    12.     private static void LogPlayModeState(PlayModeStateChange state)
    13.     {
    14.         if (File.Exists("QualitySettings.asset"))
    15.         {
    16.             File.Delete("ProjectSettings/QualitySettings.asset");
    17.             File.Copy("QualitySettings.asset", "ProjectSettings/QualitySettings.asset");
    18.         }
    19.     }
    20.  
    21. }
     
    SamwiseLA likes this.
  30. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    565
    Still happening in 2021.3.5f1
    Seriously. WHY?

    upload_2022-7-20_10-42-23.png

    The worst part is this "just happens" and we find out later when a player complains the graphics are blurry!
     
    Pawl and andrew210 like this.
  31. UDN_2483af46-8afd-4e41-81ce-10302acd4482

    UDN_2483af46-8afd-4e41-81ce-10302acd4482

    Joined:
    Jul 27, 2016
    Posts:
    1
  32. daxiongmao

    daxiongmao

    Joined:
    Feb 2, 2016
    Posts:
    412
    You can just add a script in your first scene to set the quality level on startup. This is what I end up doing now.
    It doesn't seem to change the settings just which is default.

    https://docs.unity3d.com/ScriptReference/QualitySettings.html
    And the Get/Set Quality Level. If you already know your level index or you can find it by names using the names array.
    Something like this.

    Code (CSharp):
    1.             int settings_index = System.Array.IndexOf(QualitySettings.names, "Very High");
    2.             if (settings_index != -1)
    3.             {
    4.                 if (QualitySettings.GetQualityLevel() != settings_index)
    5.                 {
    6.                     Debug.LogWarningFormat("Quality Changed from {0} to {1}",
    7.                         QualitySettings.names[QualitySettings.GetQualityLevel()],
    8.                         QualitySettings.names[settings_index]);
    9.  
    10.                     QualitySettings.SetQualityLevel(settings_index, true);
    11.                 }
    12.             }
    13.