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 /
This question was closed Jul 01, 2015 at 12:23 PM by Wahooney for the following reason:

Problem is not reproducible or outdated

avatar image
1
Question by Wahooney · Sep 07, 2011 at 10:14 AM · resolution settings

Change default resolution at runtime

EDIT: This was a missing feature in Unity's Windows standalone executable, and has been fixed for some time now. This should be a non-issue in any version >3.5.


Is it possible to change the default resolution settings while in the game, via a custom in-game options screen?

I am aware that you can change the actual running settings at runtime (which is what I'm doing now), but I would like my game to start at the settings the user defined in the in-game options screen and not be set to them once some script runs, because you end up with the screen flickering a few times before things settle.

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

3 Replies

  • Sort: 
avatar image
3
Best Answer

Answer by clunk47 · Dec 15, 2012 at 12:43 AM

EDIT > PROJECT SETTINGS > PLAYER.

Then go to RESOLUTION AND PRESENTATION.

You will see under Resolution, Default Width and Default Height.

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 clunk47 · Dec 15, 2012 at 12:44 AM 1
Share

You can also disable Resolution Dialog popup at the start of your standalone, so people won't be able to change the res (if that's what you want, perhaps you want that only changed through an in game menu...)

avatar image
1

Answer by crazyKnight · Sep 07, 2011 at 11:25 AM

have a look at the following link

Screen resolution

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 Wahooney · Sep 07, 2011 at 08:00 PM 0
Share

This is exactly not what I'm looking for :P I know how to change the resolutions at run time, I'm doing that already. I need to change the default start-up resolution, that is: the resolution that the Unity player "boots up" in before any scripts have run. Any ideas?

avatar image
1

Answer by Brenden-Frank · Dec 14, 2012 at 11:28 PM

http://docs.unity3d.com/Documentation/ScriptReference/PlayerSettings-defaultScreenWidth.html

Something like this could do the trick for you.

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 Brenden-Frank · Dec 15, 2012 at 02:55 AM 0
Share

Unfortunately I did just realize its an editor class.

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

help with an aspect ratio screen 1 Answer

How to make game mode show retina display 0 Answers

Setting a game size 0 Answers

"Couldn't switch to requested monitor resolution" 1 Answer

Application window changing positions on resize? 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