Looks like the resize that does the safe zone update is done before the orientation is updated. I suggested swapping the order to licensee in the UDN ticket and it worked for him. This should be tested more and fixed:
A resize should be handled in FAndroidApplication::PollGameDeviceState() when bWindowSizeChanged is set by the event handler. FDisplayMetrics::RebuildDisplayMetrics sets up the safe zones. I see that HandleDeviceOrientation(); happens after this so moving it before the bWindowSizeChanged() may help here (I believe it didn't get the changed orientation used to set the SafeZone values).
Set up project allowing full rotation options for Android
Make a UMG layout with button in area that would be in safe zone in landscape using a safe zone container.
Run on device in portrait. Switch to landscape and see if button moved.
UE-74991 also affects Valve Index
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
How to achieve HLSL Multiple Render Target in Material blueprints?
I'm working on a VR Project and I cannot add Nav Mesh to the stairs??
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
What method is used to fill polygonal regions when drawing spline mesh at run time?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-229699 in the post.
0 |
Component | UE - Platform - Mobile |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.6 |
Created | Nov 5, 2024 |
---|---|
Updated | Nov 20, 2024 |