Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 04, 2020 at 11:41 PM by mbro514 for the following reason:

The question is answered, right answer was accepted

avatar image
1
Question by mbro514 · Jul 03, 2020 at 02:13 AM · camerabuildresolutionresolution settingsbuilds

Camera Changes Proportions In Build

I have been having a problem with my camera whenever I build my standalone game (using Unity version 2017.3.0f3). The camera stays at its proper height, but it widens horizontally about 1/3 of a unit on each side, revealing areas of the scenes that aren't supposed to be seen. This problem doesn't happen in the Unity Editor. I have already made sure that the resolution (1200x800) in the build is the same as in the Unity Editor.

If it helps, here is a picture of my game being played in the Unity Editor: alt text

And here is a picture of it being played as a .exe file: alt text

Also, here are the resolution and presentation settings for my game:

Default Is Fullscreen: true

Default Is Native Resolution: false

Default Screen Width: 1200

Default Screen Height: 800

Mac Retina Support: true

Run In Background: false

Capture Single Screen: false

Display Resolution Dialog: Disabled

Use Player Log: false

Resizable Window: false

Mac Fullscreen Mode: Fullscreen Window

D3D11 Fullscreen Mode: Fullscreen Window

Visible In Background: true

Allow Fullscreen Switch: false

Force Single Instance: true

And none of the aspect ratios are supported (since Resolution Dialog is disabled).

Thanks in advance for your help!

unity-playmode.jpg (139.6 kB)
unity-built-game.jpg (114.6 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

1 Reply

  • Sort: 
avatar image
0

Answer by kylecat6330 · Jul 04, 2020 at 07:21 PM

I'm not really an expert on the subject, and I'm not really sure what could be causing it or how to fix it. However, you could work around it by setting up a script so that it covers the parts of the screen you shouldn't be able to see. The simplest way to do this would probably be to just use a Rect to make some black rectangles on the edges of the camera view.

Although like I said I am no expert on the subject this is just a possible work around.

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 mbro514 · Jul 04, 2020 at 11:39 PM 0
Share

Thank you so much for your response! I really appreciate it! Thankfully, I was able to find the solution to my problem. Simply put, my computer doesn't support a resolution height of 800 pixels, so it set the height to 768 pixels, messing up the proportions of my camera view. But again, thank you for your suggestion! I really like the idea of rectangles on the edges of the camera view, and I will definitely keep it in $$anonymous$$d as I make other games.

Follow this Question

Answers Answers and Comments

204 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 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

Player Settings Standalone resolution will not change? 0 Answers

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

Resolution Not Saving On Build 2 Answers

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

Distribute terrain in zones 3 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