Screen.resolutions in Macbook Air M1

I am running tests on a Macbook Air M1, and when I use the Screen.resolutions function, it only displays 1440x900 instead of the native resolution of 2560x1600 and the other supported scaled resolutions. However, this function works perfectly in Windows. Does anyone have any ideas about how to address this issue? Thank you in advance for any suggestions!

Screen resolutions is an array and it returns all valid resolutions for your monitor. I’m guessing you’re just checking the first returned value?

What do you want to do exactly? It is possible Screen resolutions isn’t appropriate for what you want to do.

This is what the full array returns for me on my M1 Macbook Pro

8679813--1170012--upload_2022-12-22_5-33-37.png

My bad, I forgot to mention that I’m using a bucle for reading all the values of the Screen.resolutions array. i.e, in Windows with a Full HD Asus Monitor, it shows me 1280x720, 1360x768, 1366x768, 1600x900 and 1920x1080, the problem is with the Mac I mentioned aboved, it only shows 1440x900 @ 0hz

I’m developing a pixel art game with pixel perfect, so I need to determine which are the supported resolutions in order to set the default resolution that fits better with the current monitor, and also to show all the compatible sizes in the settings menu.

I’m using Unity 2021.3.4f1.

I would try a newer 2021.3. I know they fixed some bugs for Screen resolutions in the last couple of months, not sure if it covers your use-case but it’s worth a try.

Thanks! But still having the same result with Unity 2021.2.16f1, it’s also weird that returns @0hz instead of @60hz.