• 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 shepsaus000 · Jan 21, 2016 at 05:32 PM · camerabackgroundoffset

Title screen is off to the side in build

I've finished creating my title screen and I decided to build it to see how it looks. The strange thing is, however, that the title screen is off to the right side of the screen in the build. What makes it strange is that it only happens here (in play mode, everything is centered correctly). I tried re-positioning the camera to be in the center of the main canvas of my title screen, but literally nothing changed! Well, nothing good changed, because now the background I had is now gone too! I have no idea what is going on and I don't know what I can do to make my title screen (and background) be in the center of my camera.

Unfortunately, I also have no idea what I can provide to make it easier to answer this question, so if you need anything, or you know something I could add, please tell me how I can add 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
0

Answer by karl_jones · Jan 21, 2016 at 10:09 PM

Sounds like a bug we fixed in 5.3.1p3

(741751) - UI: Removed remaining uses of multiple display system.(Temporary fix whilst none native resolutions are not supported).

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

Answer by SterlingSoftworks · Jan 21, 2016 at 06:49 PM

Where are the Anchors for your title screen? If they're in the center of the screen this could be the problem.

Try moving them to the corners or edge centers.

For stuff to provide an easier answer.. A picture of your "Scene" tab with your title element selected would be helpful :)

Comment
Add comment · Show 2 · 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 shepsaus000 · Jan 22, 2016 at 04:20 PM 0
Share

Well, you might not think it, but in asking me about those anchors, you solved my problem. After messing around with them for a bit, I got everything back in the right place. I do need to figure out how anchors work though, because it sure did take me a long time to get everything back.

avatar image SterlingSoftworks shepsaus000 · Jan 22, 2016 at 04:38 PM 0
Share

Anchors are called "anchors" for a reason! :D

Anchors allow you to.. "Stick" your UI elements to certain parts of the canvas, and the UI elements will move around according to where those anchors are.

So, for example, on Windows Phones you can swipe up from the very bottom and a little bar appears that has the "Back", "Home", and "Search" buttons on it. If you do this during a game, this messes with the screen size being displayed and will mess up your UI elements if they aren't anchored properly. So, if a UI element on the edge of the screen (where this bar is) has it's anchors at the center of the canvas, and a person swipes up, that UI element won't move and will be covered by the bar BECAUSE the UI's position, will ONLY change, when the anchors move. $$anonymous$$oving the anchors to the "middle" of that side fixes this issue. Now that the anchors are moved, when a person swipes up to bring that bar up, the UI element moves x amount based on the anchor position.

Anchors will help you make your UI elements stick to their intended position on multiple aspect ratios as well since when a screen size changes, the edges may change, but the center hasn't been touched yet.

I hope that helps you a little bit with Anchors and don't forget to mark this as answered or closed :)

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

41 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

Related Questions

Why can't I see my objects in the scene view when adding a background image and a background camera? 1 Answer

Offsetting local positions 2 Answers

I'm having trouble with Color.Lerp() 0 Answers

How do i reset the backgrounds offset 2 Answers

Can I keep a player on the left side of the screen in relation to view resolution? 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