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
2
Question by william9518 · Oct 15, 2013 at 08:29 PM · buildresolutionplayer settingsresolution settingsbuild-size

Resolution Not Saving On Build

So before today I had set, in the Player Settings, the resolution of my game to 800x600 and disabled the dialogue window. This worked fine for both the in-editor game and builds. Now, I would like to enlarge the resolution to 960x600, and keep the dialogue window disabled. This works for the in-editor game, but as soon as I build it, the build runs back at 800x600. Is the Player Settings not saving?

Any help is appreciated, william9518

Comment
Add comment · Show 2
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 HalversonS · Apr 22, 2014 at 02:10 AM 0
Share

Running into this issue now too. Using 4.3.4f1

avatar image HalversonS · Apr 22, 2014 at 02:31 AM 0
Share

The only way I am able to change screen width and height is by enabling the dialogue window and setting it there... it was building the window based on my native resolution just fine, then I attempted to change it to fullscreen and now it has been stuck at 756x600. I've tried this on two separate computers now with two different projects. Is this a known bug?

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by HalversonS · Apr 22, 2014 at 02:44 AM

Fixed it.

Go to your project folder, projectsettings folder, then delete EditorBuildSettings.asset.

You'll have to re-setup your scene files in the build and reset your desired player settings.

Such a headache :P Glad it's working now.

Comment
Add comment · Show 5 · 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 piottej · Sep 30, 2015 at 02:56 PM 0
Share

Having the same issue in Unity 4.6.3 but your fix doesn't work. However when starting my app on a computer on which I have never used the dialogue window, it seems to work. I would rather suspect Unity to save some kind of data related to the resolution and to use it rather than the default data it should use when the window is disabled :/ I tried cleaning the cache located in AppData/Roa$$anonymous$$g but it didn't solve the problem either

avatar image HalversonS piottej · Sep 30, 2015 at 03:01 PM 0
Share

On the other computer, have you installed the same version of the Unity Editor? Just recently I found that builds are dependent on certain .dll's that are acquired after installing Unity. I can't imagine how this issue was missed... unless it's specific to the case of our software. I've experienced this issue with both Unity 4 and 5.

avatar image piottej HalversonS · Sep 30, 2015 at 03:06 PM 0
Share

On the second computer, the Editor 4.6.6f2 is installed. I'm gonna try to reproduce the bug to validate your theory. However, I don't get how this could be related to Unity's Editor... What about people that will try my app without Unity Editor installed on their computer ? :/

Show more comments
Show more comments
avatar image
0

Answer by piottej · Sep 30, 2015 at 04:49 PM

Found the fix here : http://answers.unity3d.com/questions/516517/why-doesnt-standalone-build-resolution-settings-af.html

Comment
Add comment · Show 5 · 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 HalversonS · Sep 30, 2015 at 05:45 PM 0
Share

This and deleting the "ProjectSettings" folder so it re-creates them will have similar results. When I had done this in the past it was only a temporary fix and the issue would come back later in newer builds. It becomes a pain having to set back up the project settings every time you want to build.

avatar image piottej HalversonS · Oct 01, 2015 at 07:47 AM 0
Share

Yeah, you're probably right, it doesn't seem to work either finally. I have to start that method on every computer that has unity installed on which I try my app. This definitly makes no sense to me. I have similar issue on a computer on which Unity is not installed at all. The first time the app is installed seems to define the resolution of my app. Next installs/Launches don't change it. I could set the resolution in an "OnEnable" of a Behaviour but I don't like the fact that my window changes its resolution, I think it makes the application look unstable... Anyway, I guess I'll just end up doing that.

avatar image saschandroid piottej · Oct 01, 2015 at 08:15 AM 0
Share

Have you tried http://docs.unity3d.com/ScriptReference/Screen.SetResolution.html?

Show more comments

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

17 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

Related Questions

Distribute terrain in zones 3 Answers

Player Settings Standalone resolution will not change? 0 Answers

Resolution Problems 1 Answer

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

Why don't I get the right resolution after I build the game in my in-built settings menu but inside Editor everything is fine? 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