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
1
Question by CodeMasterMike · Jul 17, 2014 at 11:11 AM · editorplayersettingsexe

Display Resolution Dialog overwrites screen settings?

Im working in Unity version 4.3.4f1, and when I build a project, I use the following PlayerSetting:

 Default is Fullscreen = false
 Default Screen Width = 1920
 Default Screen Height = 1080
 Run in Background = true
 Display Resolution Dialog = Disabled

When I build the exe and play it, the exe file is in fullscreen regardless if I set the seting:

 Default is Fullscreen = true


But, if I change only this setting:

 Display Resolution Dialog = Enabled

I build and play the exe, and I set the "windowed" option to true in the dialog. Then I get the window mode as I want. But if I then change back the PlayerSetting to:

 Display Resolution Dialog = Disabled

Then I always have window mode, eventhough I set:

 Default is Fullscreen = true


Is this behaviour as it should be, or am I missing some kind of settings? It seems that the Resolution Dialog is overwriting the Resolution settings.

Seems like to be a odd issue. I can only change from starting with either fullscreen or windowed, by enabling the Resolution dialog and change it there, and then go back and disable the dialog. As if the dialog always overwrite what I enable/disable in the PlayerSetting, regardless if the dialog is enabled or disabled.

I've also noticed that the exe file "remembers" if it was fullscreen or not the last time it was active. So if its fullscreen, I close the exe, and restart it, the exe starts in fullscreen. Can this be ignored? I would like to always start in window mode, eventhough I go to fullscreen later on manually.

Does anyone have any idea about 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
1
Best Answer

Answer by CodeMasterMike · Jul 21, 2014 at 04:58 AM

If anyone is curious about this, I asked in the forum and got a answer for it from user chechoggomez:

This is not an issue, the full screen mode is saved in the application registers

HKEY_CURRENT_USER ->Software->""Company Name"->"Produc Name"

You will see :

Screenmanager Is Fullscreen mode

Screenmanager Resolution Height

Screenmanager Resolution Width

UnityGraphicsQuality

So this is why the application remembers if it's Full screen mode or not.

So this is not a issue, but a setting from Unity. Read the whole post here:

http://forum.unity3d.com/threads/playersettings-are-ignored-when-building-windowed-fullscreen.257700/#post-1703271

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

21 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

Related Questions

Define Product Name (and application title) from Editor script 1 Answer

Loading screen works fine in Unity Editor, but gets stuck in the finished/built .exe version? 0 Answers

Unity editor cant change icon 1 Answer

Access AndroidTargetDevice (PlayerSettings) from code 1 Answer

How to set ProjectSettings via script 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