Search Unity

EGL_BAD_NATIVE_WINDOW when using Facebook SDK in Unity Android

Discussion in 'Editor & General Support' started by Zeit, Jun 5, 2015.

  1. Zeit


    Aug 22, 2014
    Hi all!

    I've integrated the Facebook Unity SDK to my Unity proyect and when I try to login in Android without the app installed my browser shows up, does something for about 1 second, closes and it throws the next error:

    EGL Unable to acquire context EGL_BAD_NATIVE_WINDOW a nativewindowtype argument does not refer to a valid native window.

    It works on some devices and it fails in the rest. ( For example, it works on a Nexus 4 and Samsung galaxy S ( with stock android ) and it doesnt in a Samsung galaxy 5 with Touch Wiz )

    Any ideas of what could trigger that?

    Thank you!