Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by MGijs · Jul 28, 2016 at 01:27 PM · standalonemulti-display

[5.4] Multi-display without windows main monitor

Hello,

Im trying to achieve a multi-display setup with the new built in multidisplay feature. https://docs.unity3d.com/Manual/MultiDisplay.html

This is my situation:

  • Monitor 1: 1920x1080 (windows main monitor)

  • Monitor 2: 1080x1920 (TV in portrait mode)

  • Monitor 3: 1280x800 (projector)

Im trying to figure out how to get it working that my standalone unity application will run on two out of the three displays using the multidisplay feature. At the moment I can make it so it works on all three monitors using the code from the API:

     if (Display.displays.Length > 1)
         Display.displays[1].Activate();
     if (Display.displays.Length > 2)
         Display.displays[2].Activate();

I also have it working using only the main monitor and the TV (monitor 2).

However, what im trying to achieve is that it will start on the second and third monitor. (NOT the main monitor (Display.displays[0]).

For some reason it always starts the standalone application also in the windows main monitor, for the setup that im using I cannot change the windows primary screen and unity cannot be displayed on this monitor. (another program is running on it that controls the unity application)

  • I tried changing the primary display in using the playersprefs and changing the registry of the application.

  • I also tried using the -multidisplay command but with the same result.

How can I achieve it that the standalone unity application will only run on my second and third monitor which are both NOT the windows main monitor?

EDIT: Upgraded to Unity official 5.4 release, same result

Comment
Add comment · Show 1
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
avatar image YeepYe3p · Sep 03, 2016 at 05:25 AM 0
Share

Hi! @$$anonymous$$otek_Gijs can you show me the full scripts for the display because I tried to do it but it didnt come out right, thank you and for your problem have you tried to just show 1 monitor screen and disabled the windows monitor screen. (not sure if it works though)

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by DenisTribouillois · Sep 20, 2016 at 08:05 AM

I have a similar setup with 4 screens (main + 3 others) and I achieve what you want with some easy tricks.

  • If you play in the editor, add multiple Game tabs, select the monito to display and put them in the desired monitor. You can free your main monitor this way.

  • If you build the game, select Windowed and minimize the window on the main monitor when it lauches. In my case, the 3 other screens are fullscreen and I can use my main monitor.

Comment
Add comment · Show 1 · 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
avatar image bsuter · Jan 15, 2018 at 09:24 PM 0
Share

So glad to find this. It sounds like you are/were doing almost exactly what I want ... I'd like to have 3 cameras, each displaying full-screen to a separate monitor; but I'd also like to have a windowed display on a 4th (main) monitor - this 4th display should display one of those 3 cameras (but if it helps, I could also add a 4th camera).

Do I understand correctly that I should follow your tips, and then simply not $$anonymous$$imize the window on the main monitor? It isn't clear to me whether you have multiple cameras in your setup?

Thank you!

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

6 People are following this question.

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

Related Questions

Works in the editor, but not when I publish it.. whats wrong...? 0 Answers

About the about dialog in MacOs Standalone builds. 1 Answer

Audio wont play/stop in standalone mode, but works in editor 0 Answers

How to Change Screen Resolution in game 2 Answers

Published project quits unexpectedly? 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