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 /
avatar image
4
Question by MoProductions · Mar 01, 2011 at 10:11 PM · multiple-monitors

Unity running over multiple monitors

Hello there. We're using Unity to develop a product that will run on two screens put on top of each other. The end resolution we're working with is around 1300x1600. I have two monitors stacked on top of each other, and Unity allows me to stretch the editor over both monitors thus letting me see the full screen. The problem is that when we run the project Unity automatically snaps the editor window back to only one monitor, thus stopping any chance for us to see everything we need to see for our project. Is there a way to tell Unity to allow multi-monitor display while the project is running?
Thank you -Mo

Comment
Add comment · Show 4
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 MoProductions · Mar 01, 2011 at 10:45 PM 0
Share

I should mention that Unity allows me to stretch the editor window horizontally over two monitors, but when I've got it set up top/bottom like we need to that's when the problem starts.

avatar image Bunny83 · Mar 01, 2011 at 11:49 PM 0
Share

Hmm, never had that setup ;) Have you tried to undock the game view? Can't think of any other fix for that problem. If there's no workaround or solution you could file a bug report.

avatar image MoProductions · Mar 02, 2011 at 01:24 AM 0
Share

Yeah the setup is annoying, but not as annoying as the fact that I can't put more freakin' RA$$anonymous$$ in my i$$anonymous$$ac. Anyway...I unlocked the game view and that seemed to keep the issue from happening, so thank you! However, when I do that the frame rate drops to about 1/4 of what it normally is in one monitor. Is that something else I can fix somehow? I dumbed down the Quality settings to Fastest already. Thanks!

avatar image droderick · Apr 10, 2012 at 04:14 PM 0
Share

What is your target operating system? We can provide feedback/direction for Windows if you'd like, however don't have experience deploying for mac so much. Also, i'm assu$$anonymous$$g you're looking to have a build running across two monitors and not the editor, correct?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by TheShadowblast123 · May 28, 2016 at 07:11 AM

Use this line of code in start or awake:

 Screen.SetResolution(x, y, false);
 // where x is the width, and y is the height
 

This will only work with a built version of the game. I've tried with the window itself, it doesn't work and I have not a single reason why, but when you build and run the game, the set resolution function should work. One problem that might be present with multi monitor setups is stretching, but that's something you're going to have to deal on a case by case scenario. At any rate, to use this code in a main menu set up, you could have the player type in a resolution and use that for the variables I call x and y.

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 tanoshimi · May 28, 2016 at 07:39 AM 0
Share

The OP is asking about running the editor across two screens, not a build.

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

Unity3d & Multiple Monitors/Contexts 0 Answers

unity Display.displays[].setParams Problem 1 Answer

Android multiple display 0 Answers

Unity Windowed Resolution Smaller than Chosen Resolution? 2 Answers

Switch Monitor during Runtime 2 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