Search Issue Tracker

Fixed in 2018.2

Fixed in 2017.3, 2018.1

Votes

6

Found in

2017.3.0p1

2017.3.0a7

Issue ID

985591

Regression

Yes

[Android] App does not resume graphics context after being minimized and maximized again if Graphics Jobs are enabled

Mobile

-

How to reproduce:
1. Open the attached "AndroidResumeTest" project
2. Build project to device, run the built player
3. Minimize or switch the app
4. Return to the app

Expected result: App is still showing its graphics (Skybox, Sphere)
Actual result: Black screen is shown upon returning to app

Regression introduced in - 2017.3.0a7
Reproducible with - 2018.1.0b2, 2017.3.0p1, 2017.3.0a7
Not reproducible with - 2017.3.0a6, 2017.2.1p2

Note: Bug does not happen if the Application orientation is set to Portrait mode, every other orientation mode causes the issue to happen

Fixed in - 2018.2.0a1, 2017.3.1p2, backport coming to 2018.1

Devices tested:

Reproducible with:
Google Pixel*, OS:8.0.0, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:google/sailfish/sailfish:8.0.0/OPR3.170623.007/4286350:user/release-keys
Samsung SM G950U*, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 540, Build:samsung/dreamqltesq/dreamqltesq:7.0/NRD90M/G950USQU1AQC8:user/release-keys
Samsung SM G930F*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T880, Build:samsung/heroltexx/herolte:7.0/NRD90M/G930FXXS1DQHF:user/release-keys
Xiaomi MI 5s*, OS:6.0.1, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:Xiaomi/capricorn/capricorn:6.0.1/MXB48T/V8.0.10.0.MAGCNDH:user/release-keys
Google Nexus 4*, OS:5.1.1, CPU:armeabi-v7a, GPU:Adreno (TM) 320, Build:google/occam/mako:5.1.1/LMY48T/2237560:user/release-keys
Htc HTC One S*, OS:4.1.1, CPU:armeabi-v7a, GPU:Adreno (TM) 225, Build:htc/tmo_de/ville:4.1.1/JRO03C/148618.11:user/release-keys

Comments (11)

  1. 587f27bf117f6b401e65a7e3c464146e?d=mm

    xuanyuan

    Aug 12, 2019 02:19

    I got this issue in version 2017.4.24f1

  2. 7d80a1bfaa964bb43103d8001c597a88?d=mm

    dmax1

    Aug 10, 2019 05:46

    I got this issue in version 2018.4.5f1

  3. F326ef0b95a7e8997b0652f3cf0f82d4?d=mm

    yawar512

    Dec 13, 2018 07:06

    I got A Fix , by disabling multithreaded rendering in Playersettings>Other Settings. I am Using
    unity 2017.3.0f3

  4. A22280cd3b4a1ac7c3f45129418035df?d=mm

    Maisey

    May 09, 2018 08:52

    Unity 2017.4.2f2: We receive this error for Samsung Galaxy 8(+) devices. Without having GRAPHICS JOBS enabled. We think it's related to people watching ads (might coming from landscape-ad) and then will go back into app (portrait). Would be nice if this can be fixed ASAP. Seeing 500 crashes the last 7 days.

  5. 568636c292719223c7574a5fdea41761?d=mm

    willmoon

    Mar 20, 2018 13:06

    anybody has the solution ???
    I have met this on Unity 5.6.3,On some devicces(HM NOTE 1LTE) ,the game just stopped rendering .
    Unable to acquire context: EGL_BAD_ALLOC: EGL failed to allocate resources for the requested operation.

  6. 220196d76f3ff806916cb57fda76b3d1?d=mm

    agrodzki

    Feb 26, 2018 19:40

    Same problem with 2017.3.1f1

  7. 7e3df42c09facf4ddae2f72b330e9cc8?d=mm

    dave_oak

    Jan 29, 2018 15:36

    Same here. Our game is portrait, reproducible on Samsung S8+.

    01-29 15:32:42.605 1458 1458 I Unity : windowFocusChanged: true
    01-29 15:32:42.605 1458 1479 D Unity : [EGL] Attaching window :0xe3e92808
    01-29 15:32:42.616 1458 1479 D Unity : ANativeWindow: (1080/2220) RequestedResolution: (0/0) RenderingResolution: (0/0) EGLSurface: (1080/2220)
    01-29 15:32:42.617 1458 1479 E Unity : [EGL] Unable to acquire context: EGL_BAD_ACCESS: EGL cannot access a requested resource (for example a context is bound in another thread).
    01-29 15:32:42.617 1458 1479 E Unity :
    01-29 15:32:42.617 1458 1479 E Unity : (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 267)
    01-29 15:32:42.617 1458 1479 E Unity :
    01-29 15:32:42.619 1458 1479 E Unity : [EGL] Unable to acquire context: EGL_BAD_ACCESS: EGL cannot access a requested resource (for example a context is bound in another thread).
    01-29 15:32:42.619 1458 1479 E Unity :
    01-29 15:32:42.619 1458 1479 E Unity : (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 267)

  8. A8cc73a334941b17b6d91ca01f1cb251?d=mm

    georgehbr

    Jan 29, 2018 05:06

    Getting the same issue on Unity 2017.3.0p3

  9. 8df5fe6cb49fab097c5abf439d1d6f9e?d=mm

    Antony-Blackett

    Jan 28, 2018 20:51

    Reproduced with 2017.3.0f3

    Log error is:

    [EGL] Unable to acquire context: EGL_BAD_ACCESS: EGL cannot access a requested resource (for example a context is bound in another thread).

  10. Ebfd7874eba05a9f22f7fa28d26e5b5b?d=mm

    chyrho

    Jan 26, 2018 01:14

    We have the exactly same issue here. Using 2017.3.0f3.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.