• 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 kryzodoze · Sep 18, 2014 at 04:50 AM · iphone

iOS 8 Orientation Issue

So, we got rejected today from the App Store because on an iPhone 5S with iOS 8, it defaulted to the wrong orientation (portrait instead of landscape). Has anybody experienced this or know a sure-fire way to force the default?

We had the default in the player settings set to landscape left. It worked fine on an iPad 1 and an iPhone 4S running iOS 7.1.

Comment
Add comment · Show 3
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 eAi · Sep 18, 2014 at 09:51 AM 0
Share

I'm seeing the same thing in a number of Unity apps on iOS 8. I'm investigating...

avatar image eliason_robert · Sep 19, 2014 at 11:45 AM 0
Share

Tried both of the below suggestions, but no success. Actually, it got worse... :/ The app launches in landscape and rotates to portrait during the splash screen. After that the scene comes up with the top left corner stuck to the top left corner of the screen, leaving a third of the scene outside the screen.

Unity v 4.5.3p1, Xcode 6.0.1

avatar image eliason_robert · Sep 19, 2014 at 01:00 PM 0
Share

Never $$anonymous$$d, found the issue. It's the build and run that failed and made me think I was building the latest version of the app, when in fact it was an older version.

v 4.5.4f1 works fine!

7 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by eAi · Sep 18, 2014 at 10:43 AM

I believe this patch will fix it (see "(none) - iOS: Fixed startup orientation handling on iOS8."). I'm going to give it a go on our build.

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
1

Answer by hessel_mm · Sep 18, 2014 at 01:20 PM

That or Unity 4.5.4 which fixed it for us.

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 skingtree · Sep 29, 2014 at 09:03 AM

I got this issue and find set both landscape (left + right) will work

Xcode 6 + Unity 4.6

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 eyalfx · Oct 23, 2014 at 11:10 PM

This is still an issue with 4.6 patch 21 beta. There are two issues: 1. if you change orientation the input.touch still thing it's the old orientation and completely ignores values at the edges. 2. if you take the app to bg then go back to the app, the orientation looks completely messed up. i.e only half the screen is rendering

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 lilboylost · Nov 03, 2014 at 07:14 AM 0
Share

ditto, I am seeing the same problem. Is there a bug for this?

avatar image
0

Answer by niniane · Oct 31, 2014 at 09:04 PM

I discovered a way to work around the issue with the app only rendering half the screen if you take it to background and go back. Every frame, you need to set the camera rect. Set it to (0, 0, 1, 1) and then it will render and accept touch inputs correctly.

Comment
Add comment · Show 4 · 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 mha · Nov 14, 2014 at 02:24 AM 0
Share

hi. I was not able to correct this issue by this way. Is this code correct?? void update(){ Camera.main.rect = new Rect(0,0,1,1); }

avatar image niniane · Nov 14, 2014 at 02:31 AM 0
Share

It made the bug happen much less frequently for me, but still happened if I kept flipping between landscape and portrait. Also, you cannot forcibly set the device to be in landscape mode. But if you keep it in AutoRotation, setting the camera rect seemed to make it happen far less frequently.

avatar image mha · Nov 14, 2014 at 02:48 AM 0
Share

Thank you for reply. I believe that fixed this bug.

avatar image niniane · Nov 14, 2014 at 02:49 AM 0
Share

please upvote! :)

  • 1
  • 2
  • ›

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

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Drawing on Textures on the iPhone (larger than 200) 3 Answers

Unity Time and Timing-Different from Iphone Time and Timing?? 1 Answer

Determine iPhone Type (3G vs 3GS) 1 Answer

Optimal # of Faces for many mesh scene for mobile 1 Answer

Find how many Elements in Transform[] 1 Answer


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