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 markfrancombe · Oct 06, 2012 at 07:49 PM · webplayerfullscreen

When switching to Full screen on web player, i get me a 4:3 window.

When I right click and select full screen on the web player, in stead of it "filling the screen", I get a 4:3 box, with black sides. Anyway of correcting that?

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
3
Best Answer

Answer by Eric5h5 · Oct 06, 2012 at 08:28 PM

It's because you're setting the full-screen resolution to 1024x768 by default.

To fix this, in the player settings, change the PC/Mac standalone resolution (not the webplayer resolution) to something like 99999 width and 99999 height. This is the resolution that will be used when switching to fullscreen in the webplayer, except it will not ever actually go higher than the desktop resolution. So essentially using absurdly huge numbers here means "switch to the desktop resolution when going fullscreen in the webplayer."

Comment
Add comment · Show 6 · 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 Dragonlance · Oct 06, 2012 at 09:56 PM 0
Share

Ah nice trick Eric! This solves it also. So I will only need my solution if I want to go to the lowert possible resolution with correct aspect ratio.

avatar image markfrancombe · Oct 06, 2012 at 11:01 PM 0
Share

Aha.. fantastic!!! Now all I want to know is whether I can switch to full screen automatically, but .. I spose thats another thread?

avatar image Eric5h5 · Oct 06, 2012 at 11:08 PM 0
Share

As I mentioned in your other question, that's not possible or desirable (you don't want potentially malicious websites to have that ability).

avatar image doomlazy · Jul 06, 2014 at 12:39 PM 0
Share

SO$$anonymous$$E ONE HELP! WHEN I DO THIS AND GO FULLSCREEN I GET THE ERROR "Fatal Error: Could not switch to requested resolution" WTF

avatar image hyperhippo · May 05, 2015 at 11:53 PM 0
Share

Isn't this what the "Default Is Native Resolution" checkbox is supposed to do?

Show more comments
avatar image
0

Answer by Dragonlance · Oct 06, 2012 at 07:53 PM

Unity switches to the first resolution your monitor supports. Completely ignoring if the monitor has that aspect ratio.

I have found a solution and made a class that handles this. Check out my tutorial on my web page:

http://games.powerword.de/2012/09/unity-webplayer-full-screen-issue/

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 markfrancombe · Oct 06, 2012 at 07:55 PM 0
Share

Excellent thanks... Ill check it, but it might be beyond my coding skills...

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

11 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

Related Questions

Web player fullscreen and focus. 0 Answers

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

How can i switch resolutions in fullscreen in the web player? 0 Answers

Flickering Lights in Web Player 1 Answer

Run code before web player starts loading 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