Topic locked

Unity 5.2 Xcode 7 iOS 9 Vuforia 5.0.5 camera orientation problem

September 20, 2015 - 11:56pm #1

Steps to recreate the issue

1. Import VideoPlayback-5-0-5.unitypackage

2. Player setting, > Resolution and Presentation> Auto Rotation

3. Export to Xcode 7

4. Camera flipped upside down.

 

Software version

  • Unity 5.2
  • Xcode 7
  • Vuforia 5.0.5
  • iOS 9

Unity 5.2 Xcode 7 iOS 9 Vuforia 5.0.5 camera orientation problem

October 9, 2015 - 12:07am #8

Update 2:

this thread:

https://developer.vuforia.com/forum/issues-and-bugs/ipad-autorotation-issue

provides additional details; in particular, see posts by dm3d in which he describes:

- 1. workaround

- 2. how to reproduce the same rotation issue in a simple non-Vuforia Unity project, uisng Unity 5.2.1

 

Unity 5.2 Xcode 7 iOS 9 Vuforia 5.0.5 camera orientation problem

October 8, 2015 - 12:21am #7

Update:

there is an issue with Unity 5.2 and iOS 9, by which on some iPad models (such as the iPad Air) the AR Camera video background will be flipped when autorotation is enabled. This happens for example on iPad Air, but not on iPad 4 or iPhones.

The issue is not specifically related to the VideoPlayback sample, or other sample app, as it can also be reproduced using an empty scene with just an ARCamera, as long as the auto-rotation orientation settings are enabled in the Unity Player Settings.

The issue is not observed in Unity 5.1.x, so it appears to be a specific regression of version 5.2.x with iOS 9 iPad devices.

On Unity 5.2, though, it is possible to correct the issue by enabling Autorotation in Unity Player Settings while disabling the "Upside Down" orientation in the Xcode project settings.

 

Unity 5.2 Xcode 7 iOS 9 Vuforia 5.0.5 camera orientation problem

September 22, 2015 - 2:49am #6

Please provide some hints to do the auto rotate customization. 

Unity 5.2 Xcode 7 iOS 9 Vuforia 5.0.5 camera orientation problem

September 22, 2015 - 2:46am #5

Note: the Video Playback sample, as provided, is designed to work in Portrait Mode, not landscape or autorotation (for that, you'll need to customize the sample code).

On an iPhone 5S with  iOS 9, the sample works correctly when launched in Portrait mode.

 

Unity 5.2 Xcode 7 iOS 9 Vuforia 5.0.5 camera orientation problem

September 22, 2015 - 1:48am #4

Tested in iPad air

Unity 5.2 Xcode 7 iOS 9 Vuforia 5.0.5 camera orientation problem

September 22, 2015 - 1:47am #3

Tested in iPad air

Unity 5.2 Xcode 7 iOS 9 Vuforia 5.0.5 camera orientation problem

September 22, 2015 - 1:44am #2

Can you also share the device model on which you see the issue (iPhone 5/5S/6/6S, iPad .....)?

 

Topic locked