Hey Tony
I'm having an issue with the Menu Framework system's Resolution options dropdown. In Editor everything works as expected but when I make a build the options panel gets numerous duplicates of setting options )for example, 3820x2160 has 6 entries)
Let me know if you need more info,
Nathan
Menu Framework Resolution Options
Re: Menu Framework Resolution Options
I bet those are different 3820x2160 color depths (e.g., black-and-white, 8-bit color, 16-bit color, 24-bit color, etc.). I'll look into this, add options to skip certain color depths (who needs 2-bit color?) and distinguish them in the dropdown.
Re: Menu Framework Resolution Options
Thanks Tony
This would be great.
Nathan
This would be great.
Nathan
Re: Menu Framework Resolution Options
Hey Tony
Sorry to bother you with this but any idea of what’s involved with changing these settings?
I’ve looked around but this is a little beyond me at the moment.
If you could point me in the right direction for filtering the display resolution settings, re. The options script, would be much appreciated.
Thank you
Nathan
Sorry to bother you with this but any idea of what’s involved with changing these settings?
I’ve looked around but this is a little beyond me at the moment.
If you could point me in the right direction for filtering the display resolution settings, re. The options script, would be much appreciated.
Thank you
Nathan
Re: Menu Framework Resolution Options
Hi Nathan,
I researched this a bit. The duplicates aren't color depths; they're different refresh rates. Edit Options.cs. Replace line 87:
with this:
This change will be in the next release of the Menu Framework, too.
If you're using Unity 5.6.x, it has a bug that does report duplicates, but it's supposedly fixed in 2017.1+. I didn't see any duplicates in a 2017.4 test project.
I researched this a bit. The duplicates aren't color depths; they're different refresh rates. Edit Options.cs. Replace line 87:
Code: Select all
list.Add(resolution.width + " x " + resolution.height);
Code: Select all
if (resolution.refreshRate > 0)
{
list.Add(resolution.width + "x" + resolution.height + " " + resolution.refreshRate + "Hz");
}
else
{
list.Add(resolution.width + "x" + resolution.height);
}
If you're using Unity 5.6.x, it has a bug that does report duplicates, but it's supposedly fixed in 2017.1+. I didn't see any duplicates in a 2017.4 test project.
Re: Menu Framework Resolution Options
Thanks for this Tony
Sorry to have bothered you about it. But, it is extremely helpful!
Nathan
Sorry to have bothered you about it. But, it is extremely helpful!
Nathan
Re: Menu Framework Resolution Options
It's no bother at all! I needed to take care of it at some point anyway.