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 /
  • Help Room /
avatar image
0
Question by GameDevSA · Sep 27, 2021 at 02:09 AM · error messagestartupscreen resolution

Error with screen resolution on boot up, DX 11, failed switching to resolution

 Unity: 2019.1.13f1
 Assets: Super Tilemap Editor, Rewired.

So one of my players got a weird error. This was on boot up, before the game even launched. He got this error after trying to launch through the Steam client.

 Switching to resolution 1920x1080 failed, trying lower one
 Switching to resolution 1920x1080 failed, trying lower one
 All resolution switches have failed.
 Screen: DX11 coould not switch resolution (1920x1080 fs=1 hz=0)

He is using Windows 10. Waiting for confirmation of his screen resolution. None of my other testers had issues, and I myself tested on a dual monitor set up with 2 different resolutions, and I also tried making sure the game ran correctly at various resolutions, so I'm quite puzzled by this anomaly.

I've been looking through my code, and as far as I can see, none of my code affects the resolution on boot up at all. The only code that might trigger something when the game boots up is this:

 void Start()
 {
     Screen.sleepTimeout = SleepTimeout.NeverSleep;
     QualitySettings.vSyncCount = 0;
     Application.targetFrameRate = 60;
 }

But as you can see that doesn't affect resolution at all. I'm not sure whether game settings could have anything to do with it? Here are my player settings:

alt text

The only time that my code affects the resolution is in the menu class, triggered by pressing buttons. There is a camera class that has some code my friend wrote. He's assured me that all the code did was manipulate the texture pixel resolution for the render texture (for pixel art to display crisp). Shouldn't actually be changing the screen res at all. Having a quick look over the code, that seems to be the case, just affecting render textures and not the screen resolution.

Does anyone have any suggestions please? Could it be possible it's the settings?

Update

The player has updated me that he was using Windows 10, 1920x1080 resolution, and that he recently upgraded from Windows 7 and has been playing around with graphics drivers so there's a few possible complications there. I know it definitely works fine for everyone else at 1080p including myself so wondering if it's graphics driver related or Unity related, or a bit of both.

player-screen-settings.png (25.1 kB)
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 GameDevSA · Sep 28, 2021 at 01:08 PM 0
Share

A bit more information about his rig.

 Nvidia Quadro 1000M graphics card.
 Intel HD Graphics 3000 (graphics card integrated into the CPU)
 Direct X 12

I wonder if that dual graphics set up could be causing issues with Unity?

0 Replies

· Add your reply
  • Sort: 

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

170 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 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 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 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 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 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 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 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 avatar image avatar image

Related Questions

Unity Editor Has Stopped Working, Unity 5.2.3f1 0 Answers

Failed to Install documentation / package.json errors 2 Answers

Failed to initialize unity graphics linux running Centos,Failed to initialize unity graphics on Linux running Centos 0 Answers

Unity C# if, else if, else Error :( Please Help 2 Answers

I need some help fixing some code 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