Search Issue Tracker
Fixed in 4.6.1
Votes
1
Found in
4.6.0b20
Issue ID
640230
Regression
Yes
ImGUI Buttons break on iOS 8 when screen orientation is set through 'Screen.orientation'
To Reproudce:
1. Build the attached project to an iOS 8 device.
2. Notice that the "Left/Right" Buttons both react to touches, click "Switch Orientation"
3. In the newly loaded scene none of the buttons work. They don't react to input, but it seems that clicks are actually detected, if you click on any of the buttons this error:
iPhoneSixOrientationBug[203:7743] unexpected nil window in _UIApplicationHandleEventFromQueueEvent, _windowServerHitTestWindow: <UIWindow: 0x16f846d0; frame = (0 0; 320 480); gestureRecognizers = <NSArray: 0x16f88d90>; layer = <UIWindowLayer: 0x16f7b620>>
is thrown in xcode.
Sometimes some of the buttons are broken after launching the app, and the same error is thrown when clicking on them.
3. If you comment out the entire 'Awake' function in SetupScreenRoation.js and 'Start' in Button.js, all of the buttons work fine both in landscape and portrait mode. But the orientation is manually changed in Start all of them seem to be broken in Landscape mode (and sometimes in Portrait mode too).
Only reproducible on iOS 8, tested on iphone 5 & 6+ (8.0.0).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Graph Execution errors when using GPU occlusion culling with 'Opaque Objects' frame setting disabled on a Camera
- Animator window: “Delete” menu item not greyed out for Base Layer context menu
- Resetting “PC_RP Asset (Universal Render Pipeline Asset)” causes Game view to become black and throws Renderer and NullReference errors in the Console window
- [Mobile] Player Crash on scripting_invoke_profiler_begin when the built Player Scene has an empty UIDocument and is built on IL2CPP
- Unnecessary Warnings are logged when running Player with -batchmode -nographics
Add comment