Stackoverflowish question: Is my issue here a bug, or can this be fixed somehow?
Bear with me now but I'm gonna post a couple of screenshots that will show how I think there's a weird bug that only (?) affects iPhone 5 and iPhone 5s.
- Confirmed affected: iPhone 5, iPhone 5s
- Confirmed not affected: Unity editor, iPhone 6 Plus
- Not tested: all other devices
Project zip: https://dl.dropboxusercontent.com/u/147970342/stackoverflow/testcanvasbuginunity.zip
Using Unity 4.6 release. (4.6.0f3)
This is the expected outcome when playing in Unity Editor.
This is the equally correct outcome (screenshot taken runtime with Xcode) when running on iPhone 6 Plus (no 5.5 inch launch image used).
This is the incorrect outcome (screenshot taken runtime with Xcode) on iPhone 5s/iPhone 5. Notice how the "canvaswithincanvasGame" is incorrectly positioned.
Now, this test app can be rotated to landscape mode and then back to portrait, if you do that this is the outcome. The "canvaswithincanvasGame" is now correctly positioned.
Now I'll just post the hierarchy and the setup of each canvas below for you to find the culprit, if any.