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
0
Question by Nythiennzo · Dec 06, 2014 at 10:33 PM · webplayernewbiefullscreenaspect-ratioaspect ratio

How can a 4:3 aspect ratio be kept on any screen when switching to Full screen mode using Web player?

Hi, I am new to Unity and I am having problem with Full Screen mode on my first project which run on unity web player.The game has an aspect Ratio of 4:3 and I am having problem to keep that aspect ratio in Full screen Mode. My laptop Screen has as resolution of 1366 x 768.

I made builds at several stages of the conception for testing on a browser and the Full screen mode worked fine. I recently updated form Unity 4.3 to Unity 4.6 and it still worked fine. But with the last Build I made, when the game is switched to Full screen Mode the Display is stretched to fill the Screen.

I tried resetting my Player Settings(The Reset button in the inspector does not seem to work). I looked through the community for a solution, I tried setting my screen resolution(In PC, Mac & Linux Standalone as suggested from other questions) to 9000 x 9000, when I do this, the display is no more stretched in Full Screen Mode but sides of my game that should not be displayed are visible. I tried Native Resolution. I even tried re-installing unity.

I want to find a way to keep the same aspect ratio in Full screen Mode even if it means having blank spaces on the sides of the Display.

Here are pictures of my inspector in player settings:

alt text alt text

Thanks, Nythiennzo

inspector.png (38.0 kB)
inspector 2.png (38.5 kB)
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by RandomCharacters · Dec 07, 2014 at 05:37 PM

You c force a screen aspect ratio. goto file>build settings. Click on the system icon in the inspecter. Under resolution and presentation, you can set it there. Just click on 4:3 and unclick the others.

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 Nythiennzo · Dec 09, 2014 at 08:16 PM 0
Share

Sorry but I still get the problem. I could not find the system icon in the inspector. I changed the player settings when I got the problem first but the problem still persisted. If you meant something different in your answer, please tell me clearly what it is, else please could you tell me another solution?

avatar image
0

Answer by ArnoC · Apr 22, 2015 at 09:48 AM

All of those tricks don't work for me in Unity 5.0.1 ....

But I have a very simple solution that works: use Direct3D 9 instead of 11 => boom, it works! (at least for me) And I have no glitches with D3D9, whereas with D3D11 my windows are a bit messed up once I leave fullscreen mode in my web player game.

It's true though that the desktop resolution settings corresponds (roughly) to the web player fullscreen resolution setting, but only with D3D9.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Fullscreen stretching 0 Answers

Unity 2D Scaling For All Mobile Devices. What Resolution to use to keep Sprites Sharp and Avoid Blurriness? 1 Answer

How to make my game go full screen on android? (Google Pixel XL 2) 3 Answers

How to limit scrolling at same position not depending on aspect ratio 0 Answers

OrthographicSize on Android changes from Start to Update? 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