Hi people, In the editor there are no errors or crashes occuring due to changing the graphic leves. Also it changes the quality perfectly fine.
But when I built my game and change the graphic levels, game crashes.
I tried 2 different codes:
public void SetQuality(int qualityIndex)
{
QualitySettings.SetQualityLevel(qualityIndex);
}
public void SetUltra()
{
QualitySettings.SetQualityLevel(0);
}
public void SetHigh()
{
QualitySettings.SetQualityLevel(1);
}
Both of them are causing crash in built.
Note: When game crashes it's not possible to open it again unless I delete "regedit" datas.
Crash no: "Unity 2020.1.16f1_f483ad6465d6"
↧