- Home /
How to read QualitySettings without applying them from code?
Hi,
is there any way to read the QualitySettings of a configuration like Beautiful while running under Fastest without applying it first. I need to do this from code for an options screen.
Thanks in advance.
I didn't quite understand your question but maybe this helps: http://docs.unity3d.com/Documentation/ScriptReference/QualitySettings.html
Oh now i get it but i don't think it's possible
I don't think you can, but it's quite simple to just set the quality levels and then expose their values at run time for the user to select.
Also, you are welcome to vote for this idea I've suggested:
http://feedback.unity3d.com/unity/all-categories/1/hot/active/an-automatic-graphic-quality-set
Okay I think Unity Engine is just unable to do so. Applying 8x anti-aliasing to a low end graphics card, just to read the values, is no option. Guess I have to vote for a change request.
Thanks for your feedback.
Why would you apply it?
I did not suggest that.
You can prepare different quality levels at edit time, set values at edit time in your own variables, and at run time, display your values to the user to select from.
Answer by Bunny83 · Mar 13, 2013 at 02:56 PM
Like i said in your other question the quality settings are stored in an asset file.
/ProjectPath/ProjectSettings/QualitySettings.asset
This file is read by the engine direcly and can't be accessed via scripting. I don't really understand what you actually want. All the settings stored there are either presets or changed by you, so you should know what quality setting has what settings.
Keep in mind that you can create more presets by clicking the "Add Quality Level" button.
Your answer
![](https://koobas.hobune.stream/wayback/20220613094325im_/https://answers.unity.com/themes/thub/images/avi.jpg)