Search Unity

Quality settings not working

Discussion in 'Editor & General Support' started by JPFerreiraVB, May 8, 2019.

  1. JPFerreiraVB

    JPFerreiraVB

    Joined:
    Sep 18, 2017
    Posts:
    39
    Hi all.

    I've made a change on my project to let the user select the graphics quality during runtime.
    I save the selected value (which override the default value) to a settings.json file, and load it the next time the game opens.

    But what happens is that, when i build the game, and open it, the player, either reads the windows registry definition or it search for the quality level we set as default in the Edit->ProjectSettings->Quality , and does not apply my change.

    Looks like that when it runs, the first SetQuality... is ignored. Ah and the behavior does not happen in the editor, only on the final build.

    Any help it would be great.

    Thx
     
  2. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,195
    What code are you using to set the quality? Are you sure it's actually being run in your built version of the game?
     
    Joe-Censored likes this.
  3. JPFerreiraVB

    JPFerreiraVB

    Joined:
    Sep 18, 2017
    Posts:
    39
    I just found the issue! The problem was loading the correct settings file. Nothing to do with the change the quality settings.
     
  4. shivamraut

    shivamraut

    Joined:
    Oct 23, 2023
    Posts:
    1
    I also Have the Same Problem