Android CamSurface extension not working on some devices.

J

jtmx

Guest
Hello everyone, my Android mobile game uses the CamSurface extension and relies on it for the main gameplay mechanic of the game however for some reason it doesn't work on some android devices since I switched my project over to GMS2. It worked perfectly fine beforehand but now will only work on my ZTE Blitz phone and not my higher end Galaxy Note 5 and Oppo a73. I have contacted the developer of the extension about this and he assures me it's not an error on the extensions end of things.

Here is the error output that happens when ever the game crashes from trying to initialize the device's camera:
11-12 01:05:10.645 18564 18564 I yoyo : onCreate
11-12 01:05:10.646 18564 18564 I yoyo : #######!!!!!!! Checking for runner - found assets
11-12 01:05:10.650 18564 18564 I yoyo : ###@@@@!!!~~~~###### versionName - 0.0.0
11-12 01:05:10.661 18564 18564 I yoyo : ###@@@@!!!~~~~###### default orientation - 1
11-12 01:05:10.661 18564 18564 I yoyo : #####!!!! package name is com.avostudios.arc
11-12 01:05:10.661 18564 18564 I yoyo : Loading INI from manifest file
11-12 01:05:10.662 18564 18564 I yoyo : INI loaded from AndroidManifest.xml
11-12 01:05:10.662 18564 18564 I yoyo : Attempting to initialise extension class com.avostudios.arc.GMCamSurface
11-12 01:05:10.663 18564 18564 I yoyo : Method found, attempting to invoke Init
11-12 01:05:10.664 18564 18564 I yoyo : @@@@@@@ Build.Display = CPH1725EX_11_A.29_180819 BRAND=OPPO DEVICE=CPH1725 MANUFACTURER=OPPO MODEL=CPH1725 PRODUCT=CPH1725
11-12 01:05:10.664 18564 18564 I yoyo : @@@@@@@ XPeriaPlay=false manufacturer=false model=false
11-12 01:05:10.666 18564 18564 I yoyo : Extension Class not found: com.avostudios.arc.GooglePlayLicensingAsExt attempting to call checkLicensing
11-12 01:05:10.666 18564 18564 I yoyo : !!!!!!! Checking if APK Expansion file required...
11-12 01:05:10.666 18564 18564 I yoyo : + + + + setupView + + + +
11-12 01:05:10.700 18564 18564 I yoyo : #####!!!! package name is com.avostudios.arc
11-12 01:05:10.700 18564 18564 I yoyo : Loading INI from manifest file
11-12 01:05:10.702 18564 18564 I yoyo : INI loaded from AndroidManifest.xml
11-12 01:05:10.702 18564 18564 I yoyo : RestrictOrientation setting from YYPrefs
11-12 01:05:10.702 18564 18564 I yoyo : RestrictOrientation("true", "false"false"false")
11-12 01:05:10.815 18564 18564 I yoyo : Reading GL config option...
11-12 01:05:10.815 18564 18564 I yoyo : Trying GL2 config...
11-12 01:05:10.835 18564 18564 I yoyo : Using OpenGL ES 2 renderer
11-12 01:05:10.835 18564 18564 I yoyo : DemoGLSurfaceView: CREATED
11-12 01:05:10.847 18564 18564 I yoyo : Setting vis flags to 5894
11-12 01:05:10.861 18564 18564 I yoyo : !!!!!!! Using frame count timing if possible...
11-12 01:05:10.879 18564 18564 I yoyo : onStart
11-12 01:05:10.892 18564 18564 I yoyo : onResume
11-12 01:05:10.897 18564 18564 I yoyo : Setting vis flags to 5894
11-12 01:05:11.027 18564 18564 I yoyo : calculated orientation - 1
11-12 01:05:11.124 18564 18598 I yoyo : chooseConfig
11-12 01:05:11.130 18564 18598 I yoyo : OpenGL ES Extensions : GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_O
ES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_
pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_protected_textures
11-12 01:05:11.130 18564 18598 I yoyo : Device supports 32bit display formats
11-12 01:05:11.132 18564 18598 I yoyo : 24 bit colour depth allowed
11-12 01:05:11.134 18564 18598 I yoyo : Trying EGL config : EGLConfig 3: rgba=8888 depth=24 stencil=8 EGL_ALPHA_MASK_SIZE=0 EGL_BUFFER_SIZE=32 EGL_COLOR_BUFFER_TYPE=12430 EGL_CONFIG_CAVEAT=0x3038 EGL_LEVEL=0 EGL_LUMINANCE_SIZE=0 EGL_MAX_PBUFFER_WIDTH=8192 EGL_MAX_PBUFFER_HEIGHT=8192 EGL_MAX_PBUFFER_PIXELS=67108864 EGL_MAX_PBUFFER_HEIGHT=8192 EGL_MAX_PBUFFER_HEIGHT=8192 EGL_NATIVE_RENDERABLE=0 EGL_NATIVE_VISUAL_TYPE=4 EGL_RENDERABLE_TYPE=69 EGL_SAMPLE_BUFFERS=0 EGL_SAMPLES=0 EGL_SURFACE_TYPE=5125 EGL_TRANSPARENT_TYPE=12344 EGL_TRANSPARENT_RED_VALUE=0 EGL_TRANSPARENT_GREEN_VALUE=0 EGL_TRANSPARENT_BLUE_VALUE=0
11-12 01:05:11.139 18564 18598 I yoyo : Selected EGL config working
11-12 01:05:11.146 18564 18598 I yoyo : Renderer instance is gl2.0, framebuffer object is: 0
11-12 01:05:11.149 18564 18598 I yoyo : APK File Path :: /data/app/com.avostudios.arc-1/base.apk
11-12 01:05:11.153 18564 18598 I yoyo : OpenGL ES-2.0 is supported: 196610
11-12 01:05:11.218 18564 18598 I yoyo : onSurfaceChanged :: width=2160 height=1080
11-12 01:05:11.220 18564 18598 I yoyo : State->Splash
11-12 01:05:11.231 18564 18598 I yoyo : State->Splash time: 1541945111231
11-12 01:05:11.231 18564 18598 I yoyo : State->Splash endTime: 1541945111231
11-12 01:05:11.231 18564 18598 I yoyo : State->InitRunner
11-12 01:05:11.289 18564 18564 I yoyo : onWindowFocusChanged(true|false)
11-12 01:05:11.289 18564 18564 I yoyo : Setting vis flags to 5894
11-12 01:05:11.332 18564 18564 D yoyo : doSetup called - /data/app/com.avostudios.arc-1/base.apk
11-12 01:05:11.333 18564 18564 I yoyo : checking 1 extensions for ad interface
11-12 01:05:11.333 18564 18564 I yoyo : BILLING: setupInAppBilling
11-12 01:05:11.336 18564 18564 I yoyo : Extension Class not found: com.avostudios.arc.GooglePlayServicesExtension attempting to call InitRunnerBilling
11-12 01:05:11.336 18564 18564 I yoyo : BILLING: Google Play permissions not available, selecting NULL billing solution
11-12 01:05:11.336 18564 18564 I yoyo : -----setup Push------
11-12 01:05:11.338 18564 18564 I yoyo : iCade Support in "Global Game Settings/Android" not selected
11-12 01:05:11.341 18564 18564 D yoyo : ****** Found API level 12 function! Joysticks supported
11-12 01:05:11.348 18564 18564 I yoyo : GAMEPAD: Enumeration complete
11-12 01:05:11.348 18564 18564 I yoyo : RestrictOrientation setting from YYPrefs
11-12 01:05:11.348 18564 18564 I yoyo : RestrictOrientation("true", "false"false"false")
11-12 01:05:11.372 18564 18564 I yoyo : Setting vis flags to 5894
11-12 01:05:11.399 18564 18564 I yoyo : Setting vis flags to 5894
11-12 01:05:11.413 18564 18598 I yoyo : Sleepmargin: 0
11-12 01:05:11.439 18564 18598 I yoyo : Attempting to set gamepadcount to 1
11-12 01:05:11.467 18564 18564 I yoyo : Setting vis flags to 5894
11-12 01:05:11.530 18564 18598 I yoyo : arena =0(0x00000000)
11-12 01:05:11.530 18564 18598 I yoyo : ordblks =0(0x00000000)
11-12 01:05:11.530 18564 18598 I yoyo : smblks =0(0x00000000)
11-12 01:05:11.530 18564 18598 I yoyo : hblks =0(0x00000000)
11-12 01:05:11.530 18564 18598 I yoyo : hblkhd =31981568(0x01e80000)
11-12 01:05:11.530 18564 18598 I yoyo : usmblks =31981568(0x01e80000)
11-12 01:05:11.530 18564 18598 I yoyo : fsmblks =0(0x00000000)
11-12 01:05:11.530 18564 18598 I yoyo : uordblks =26393512(0x0192bba8)
11-12 01:05:11.530 18564 18598 I yoyo : fordblks =5588056(0x00554458)
11-12 01:05:11.530 18564 18598 I yoyo : keepcost =0(0x00000000)
11-12 01:05:11.530 18564 18598 I yoyo : Total memory used = 8449569(0x0080ee21) bytes
11-12 01:05:11.531 18564 18598 I yoyo : android.software.leanback = 0
11-12 01:05:11.531 18564 18598 I yoyo : MANUFACTURER = OPPO
11-12 01:05:11.719 18564 18598 I yoyo : HttpGet("https://ping.yoyogames.com/pingback...WR/fCe1341JBI3EH/O3jVD07z/3uLkO&validate=821a", 0)
11-12 01:05:11.790 18564 18564 I yoyo : Setting vis flags to 5894
11-12 01:05:11.968 18564 18564 I yoyo : Setting vis flags to 5894
11-12 01:05:12.888 18564 18667 I yoyo : HttpProgress length mismatch length 4096 _len 9
11-12 01:05:12.889 18564 18667 I yoyo : http_get responseCode=200, id=0, finalurl=https://ping.yoyogames.com/pingback...WR/fCe1341JBI3EH/O3jVD07z/3uLkO&validate=821a headers=nokey: HTTP/1.1 200 OK
11-12 01:05:12.889 18564 18667 I yoyo : Access-Control-Allow-Origin: *
11-12 01:05:12.889 18564 18667 I yoyo : Connection: keep-alive
11-12 01:05:12.889 18564 18667 I yoyo : Content-Length: 9
11-12 01:05:12.889 18564 18667 I yoyo : Content-Type: application/json
11-12 01:05:12.889 18564 18667 I yoyo : Date: Sun, 11 Nov 2018 14:05:13 GMT
11-12 01:05:12.889 18564 18667 I yoyo : Via: 1.1 31e699f4ddea861ea4db5babb1fbf9d5.cloudfront.net (CloudFront)
11-12 01:05:12.889 18564 18667 I yoyo : x-amz-apigw-id: QM2MCE-eliAFX2Q=
11-12 01:05:12.889 18564 18667 I yoyo : X-Amz-Cf-Id: FOPu2B-Tc3m5aOlnWWCzvPujwv1wojqs5tAX3KwtJWQpITO8CK0BOw==
11-12 01:05:12.889 18564 18667 I yoyo : x-amzn-RequestId: cf3a6b1f-e5ba-11e8-8457-f59adfe99f3e
11-12 01:05:12.889 18564 18667 I yoyo : X-Amzn-Trace-Id: Root=1-5be83719-1afdd292acc09f7e241d354e;Sampled=0
11-12 01:05:12.889 18564 18667 I yoyo : X-Android-Received-Millis: 1541945112887
11-12 01:05:12.889 18564 18667 I yoyo : X-Android-Response-Source: NETWORK 200
11-12 01:05:12.889 18564 18667 I yoyo : X-Android-Selected-Protocol: http/1.1
11-12 01:05:12.889 18564 18667 I yoyo : X-Android-Sent-Millis: 1541945111876
11-12 01:05:12.889 18564 18667 I yoyo : X-Cache: Miss from cloudfront
11-12 01:05:13.882 18564 18598 I yoyo : supp: [17, 842094169]
11-12 01:05:13.883 18564 18598 I yoyo : size vals: 640,360
11-12 01:05:13.883 18564 18598 I yoyo : selected vals: 352,288

Any help would be greatly appreciated.
 
M

Munrogue

Guest
I also have the same problem, has the developer fixed it yet?
 
Top