Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This post has been wikified, any user with enough reputation can edit it.
avatar image
1
Question by jceipek · Jun 14, 2014 at 01:42 AM · standaloneosxresolutionsretina

OSX: Getting an accurate list of supported screen resolutions in CaptureDisplay mode?

For my cross-platform 2d computer game, I've been trying to determine how to best handle multiple resolutions with an in-game menu in Unity.

In order to support retina screens in OS X, I discovered that I need to set Mac Fullscreen Mode to CaptureDisplay in the player settings. When I do that, Screen.Resolutions reports

 640x480
 720x450
 800x600
 840x525
 1024x640
 1024x768
 1280x800
 1440x900
 1680x1050
 1920x1200
 2048x1280
 2560x1600
 2880x1800

However, when trying to set the screen to some of these resolutions (for example, 720x450), I got an error in the dev console: "Could not find requested mode."

On the other hand, in FullscreenWindow mode, the listed resolutions are

 640x480
 720x450
 800x600
 840x525
 1024x640
 1024x768
 1280x800
 1440x900
 1680x1050

I can switch to all of these resolutions, but doing so stretches the screen contents to cover the entire display rather than supporting the chosen aspect ratio with black bars like in CaptureDisplay mode, so CaptureDisplay mode seems to be a better choice than FullscreenWindow mode overall (after hacking it so that command-tab switches to windowed mode rather than blocking input).

My question: how can I get an accurate listing of available resolutions in Capture Display mode on OSX (I'm using a late 2013 Retina 15 inch Macbook pro running OS X 10.9.3, but I obviously want my game to run properly on every machine possible)?

Alternatively, what is the best way, from a user experience standpoint, to user-selectable resolutions, ideally with the ability to select the maximum resolution available - 2880x1800 in this case? Do I need to write a native plugin to do this?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by BrotenTechCorp · Oct 17, 2014 at 06:14 PM

Retina is a scaled desktop. a 720x450 HiDPI (Retina) is actually a 1140x900 display. When you directly the capture display, 1440x900 is the screen resolution.

If you run at 720x450 in a FullscreenWindow on Retina the game is only 720x450 with pixel doubling in both horizontal and vertical. Just run the game at 1440x900.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Using Image Component in OSX standalone app crashes build 0 Answers

Multi-monitor spanning on OSX 1 Answer

Crash reports in OSX/Linux no longer working in 5.2? 0 Answers

Capture Single Screen Mac alternative ? 1 Answer

Mac Retina Support Standalone OSX 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges