Unable to acquire context (started with 5.1.2p3)

Hey,

We just released a new version of our game using 5.1.2p3 (previously we used an earlier version - 5.0.3).

Using this Unity version we experience EGL errors that we haven’t seen before, all with the message: “Unable to acquire context” (but with a different reason).

For example:

EGL_BAD_NATIVE_WINDOW
EGL_BAD_SURFACE
EGL_BAD_PARAMETER
EGL_BAD_ALLOC

None of these were experienced before this version.

Is this a known issue ? it occurs on a range of different devices and OS versions. I have no idea what may be causing it (we could not reproduce it here during our testing).

We did fix some of those issues in later versions of Unity. But if you know some of the devices where it breaks it would be nice to get a bugreport so we can confirm it’s actually fixed.

Unity 5.1 had a pretty massive overhaul for the graphics implementation.

Thanks for the confirmation, here’s the devices i know of that experience these issues (sorry but this is the format we get in our reporting system). BTW: which version should fix some of these ?

LGE LG-E460
LGE LG-E455
LGE LG-E4

Android versions:
4.1.1
4.1.2
KitKat 4.4

samsung GT-I8190
75%
samsung GT-I8190N
21%
samsung GT-S7710

Android: 4.1.2

samsung SM-G900F
25%
samsung GT-I9505
17%
LGE LG-D41

4.4.2
40%
4.4.4
20%
5.0

samsung GT-I9195I
19%
samsung SM-E500H
19%
samsung GT-I9192I

4.4.4

Hope this helps…

**[**EGL] Unable to acquire context: EGL_BAD_NATIVE_WINDOW: A NativeWindowType argument does not refer to a valid native window.

I’ve started to see the following when moving to Unity 5.2.1f1.

I’ve included our device and OS lists the crash has occurred on.