After unity’s update (5.4+) i can’t make my game work in my smartphone… the game works into the SDK but when i build it and push it into the phone the game crashes on the startup (after loading screen).
So I used logcat (logcat downside) to see what the problem was. Now i’m not using heavy teaxures (i just use 3 small textures xD) or other heavy stuff … How can i fix this problem?
PS i noticed i have this problem in scenes where i use Canvas, maybe it is related but it’s weird because i hadn’t this problem before i updated unity
logcat :
08-11 12:12:16.217 1962 1976 I Unity : (Filename: C Line: 0)
08-11 12:12:16.217 1962 1976 I Unity :
08-11 12:12:27.384 1962 1976 D Unity : [EGL] SwapBuffers: Surface invalid
08-11 12:12:27.391 1962 1976 E Unity : [EGL] Failed to create window surface: EGL_BAD_ALLOC: EGL failed to allocate resources for the requested operation.
08-11 12:12:27.391 1962 1976 E Unity :
08-11 12:12:27.391 1962 1976 E Unity : (Filename: ./Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 136)
08-11 12:12:27.391 1962 1976 E Unity :
08-11 12:12:27.391 1962 1976 I Unity : Skipped rendering frame because GfxDevice is in invalid state (device lost)
08-11 12:12:27.391 1962 1976 I Unity :
08-11 12:12:27.391 1962 1976 I Unity : (Filename: ./Runtime/Misc/Player.cpp Line: 951)
08-11 12:12:27.391 1962 1976 I Unity :
08-11 12:12:27.393 1962 1976 E Unity : [EGL] Failed to create window surface: EGL_BAD_ALLOC: EGL failed to allocate resources for the requested operation.
08-11 12:12:27.393 1962 1976 E Unity :
08-11 12:12:27.393 1962 1976 E Unity : (Filename: ./Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 136)
08-11 12:12:27.393 1962 1976 E Unity :
08-11 12:12:27.393 1962 1976 I Unity : Skipped rendering frame because GfxDevice is in invalid state (device lost)
08-11 12:12:27.393 1962 1976 I Unity :
08-11 12:12:27.393 1962 1976 I Unity : (Filename: ./Runtime/Misc/Player.cpp Line: 951)