Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 /
avatar image
1
Question by michaelborke · Jul 09, 2015 at 12:30 PM · resolutionmultiple-monitorsplayersettingsresolution dialog

How do I force a Unity executable to start on a secondary monitor?

My primary monitor is 1600x900 and my secondary monitor is 1920x1080 (it must be this way for what I'm doing), so the default resolution dialog does not provide the option to display on the secondary monitor at 1920x1080 (because it is higher than the main monitor's max resolution). This leaves me only one option; I have to set the resolution manually (by script) when the game starts. I need to tell Unity to start the program on the secondary monitor (at the given resolution), and the only way I've found is to use "-adapter N" in commandline.

I have tried each of the following configurations in conjunction with -adapterN and not a single one of them has yielded anything:

  • No resolution set in script, fullscreen = true in Player Settings

  • No resolution set in script, fullscreen = false in Player Settings

  • No resolution set, but fullscreen = true (both in script)

  • No resolution set, but fullscreen = false (both in script)

  • No resolution or fullscreen set in script

  • Resolution and fullscreen set in script

  • Resolution and fullscreen = true set in Player Settings

  • Resolution and fullscreen = false set in Player Settings

  • Each of the above builds, ran once with each one of these arguments (not all of them at the same time of course): -adapter0, -adapter1, -adapter2, -adapter 0, -adapter 1, -adapter 2

The documentation is vague, so I'm not sure if I'm doing something wrong, the feature is incomplete/doesn't always work, or it has something to do with my video card (NVIDIA Quadro K4200). If you have any idea what I can do to accomplish this, please let me know. Preferably I would like to avoid using 3rd party software, but if I absolutely must then I will.

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

0 Replies

· Add your reply
  • Sort: 

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

2 People are following this question.

avatar image avatar image

Related Questions

Available resolutions on OS X 0 Answers

Command argument "-adapter N" not working as it should 1 Answer

How to work around perspective distortion on very wide displays? 3 Answers

Setting Resolutions in game/checking windowed mode 1 Answer

How to make the game resolution a square 0 Answers


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