Search Issue Tracker
Fixed in 5.3.6
Votes
5
Found in
5.3.5p2
Issue ID
802824
Regression
Yes
[Android] Changing resolution Screen.SetResolution results in game freezing
Reproduction steps:
1) Open attached project "ScreenResWithSpinningCube"
2) Build and run on Android
--- White cube should spin, but it doesn't
--- You will see the error in the log as soon as the app starts:
E/Unity (27929): [EGL] Failed to create protected window surface: EGL_BAD_ATTRIBUTE: An unrecognized attribute or attribute value was passed in the attribute list.
E/Unity (27929):
E/Unity (27929): (Filename: ./Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 123)
E/Unity (27929):
E/SurfaceFlinger( 3610): rejecting buffer: bufWidth=540, bufHeight=960, front.active.{w=1080, h=1920}
Regression introduced in 5.3.5p2
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
michal-momot
Jul 22, 2016 09:45
Unity 5.4f2 - SetResolution doesn't work with "Protect Graphics Memory" option
michal-momot
Jul 21, 2016 14:39
Bug is open in Unity 5.4f1
comeradealexi
Jun 08, 2016 14:45
Also have this issue: http://forum.unity3d.com/threads/setresolution-doesnt-work-on-android.409797/