hello,
i’ve a problem with my game running on android.
- the game is starting.
- one scene works
- when i click the button to load another scene it crashes
- it always crashes at the same scenes
- the behavior is the same for a real smartphone and BlueStacks
the game works properly on windows.
to figure out whats wrong i installed bluestacks. i started ddms and checked the logs.
when the game starts it initially throws this:
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x30e2
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x3147
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
i searched on the internet for a solution without succes.
i replaced all enum.ToString() with a custom function and placed my enums inside another class.
nothing worked.
here is the log:
04-08 23:01:56.370: I/PGA(2752): New SOCKET connection: .Company.Banane (pid 2752, tid 2752)
04-08 23:01:56.650: W/PGA(2752): eglGetProcAddress: “eglGetRenderBufferANDROID” not found
04-08 23:01:56.650: W/PGA(2752): eglGetProcAddress: “eglGetSystemTimeFrequencyNV” not found
04-08 23:01:56.650: W/PGA(2752): eglGetProcAddress: “eglGetSystemTimeNV” not found
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x30e2
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x3147
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x30e2
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x3147
…
around 20 times the same
…
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Not Implemented: attribute EGL_BIND_TO_TEXTURE_RGB
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Not Implemented: attribute EGL_BIND_TO_TEXTURE_RGBA
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x30e2
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x3147
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x30e2
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x3147
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x30e2
…
around 20 times the same
…
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Not Implemented: attribute EGL_BIND_TO_TEXTURE_RGB
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Not Implemented: attribute EGL_BIND_TO_TEXTURE_RGBA
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x30e2
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x3147
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x30e2
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x3147
…
around 100 times the same
…
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Not Implemented: attribute EGL_BIND_TO_TEXTURE_RGB
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Not Implemented: attribute EGL_BIND_TO_TEXTURE_RGBA
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x30e2
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.650: E/PGA(2752): :::::::: PgaUtilsEnumToStr: invalid e 0x3147
04-08 23:01:56.650: E/PGA(2752): eglGetConfigAttrib: Unsupported attribute UNKNOWN-ENUM
04-08 23:01:56.670: I/PGA(2752): New SOCKET connection: .Company.Banane (pid 2752, tid 2770)
04-08 23:01:56.680: D/Unity(2752): GL_OES_EGL_image GL_ARB_texture_non_power_of_two GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_blend_subtract GL_OES_byte_coordinates GL_OES_compressed_paletted_texture GL_OES_point_size_array GL_OES_point_sprite GL_OES_single_precision GL_OES_stencil_wrap GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_element_index_uint GL_OES_texture_cube_map GL_OES_draw_texture GL_OES_framebuffer_object GL_OES_depth24 GL_OES_depth32 GL_OES_fbo_render_mipmap GL_OES_rgb8_rgba8 GL_OES_stencil1 GL_OES_stencil4 GL_OES_stencil8 GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glPushGroupMarkerEXT” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glPopGroupMarkerEXT” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glGenQueriesEXT” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glDeleteQueriesEXT” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glGetQueryObjectuivEXT” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glGetProgramBinaryOES” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glProgramBinaryOES” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glMapBufferRangeEXT” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glFlushMappedBufferRangeEXT” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glRenderbufferStorageMultisampleAPPLE” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glResolveMultisampleFramebufferAPPLE” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glRenderbufferStorageMultisampleEXT” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glFramebufferTexture2DMultisampleEXT” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glDrawBuffersNV” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glQueryCounterNV” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glGetQueryObjectui64vNV” not found
04-08 23:01:56.680: W/PGA(2752): eglGetProcAddress: “glAlphaFuncQCOM” not found
04-08 23:02:47.830: W/Looper(2752): Ignoring unexpected epoll events 0x0 on fd 0 that is no longer registered.
04-08 23:02:47.840: E/NativeActivity(2752): channel ‘b31ffde8 com.Company.Banane/com.unity3d.player.UnityPlayerNativeActivity (client)’ ~ Failed to receive dispatch signal. status=-11
04-08 23:02:47.930: W/Looper(2752): Ignoring unexpected epoll events 0x0 on fd 0 that is no longer registered.
04-08 23:02:47.930: E/NativeActivity(2752): channel ‘b31ffde8 com.Company.Banane/com.unity3d.player.UnityPlayerNativeActivity (client)’ ~ Failed to receive dispatch signal. status=-11