google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 400 forks source link

Crash with .NET 4.6 + ComputerVision #63

Closed iBicha closed 6 years ago

iBicha commented 6 years ago

Using .NET 4.6 (Experimental) in the settings, ARCore crashes when testing the ComputerVision example. logcat shows this last: 12-20 13:26:52.425 12591-12591/com.google.ar.core.examples.unity.helloar E/NdkImageReader: AImageReader_getWindow

chaosemer commented 6 years ago

Could you please share a full logcat? It is extremely helpful when diagnosing issues.

iBicha commented 6 years ago

You were right, full log was necessary.

Double checking the logs, this was the interesting part:

12-22 10:26:20.362 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Unable to lookup library path for 'unitygar', native render plugin support disabled.
12-22 10:26:20.366 14536-14554/com.google.ar.core.examples.unity.helloar E/Unity: Unable to find unitygar

Full logcat:

12-22 10:26:19.750 14536-14536/? I/zygote: Late-enabling -Xcheck:jni
12-22 10:26:20.054 14536-14536/com.google.ar.core.examples.unity.helloar I/Unity: onResume
12-22 10:26:20.065 14536-14557/com.google.ar.core.examples.unity.helloar D/OpenGLRenderer: HWUI GL Pipeline
12-22 10:26:20.095 14536-14557/com.google.ar.core.examples.unity.helloar I/Adreno: QUALCOMM build                   : 2941438, I916dfac403
                                                                                   Build Date                       : 10/03/17
                                                                                   OpenGL ES Shader Compiler Version: EV031.21.02.00
                                                                                   Local Branch                     : O18A
                                                                                   Remote Branch                    : 
                                                                                   Remote Branch                    : 
                                                                                   Reconstruct Branch               : 
12-22 10:26:20.099 14536-14557/com.google.ar.core.examples.unity.helloar I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
12-22 10:26:20.102 14536-14557/com.google.ar.core.examples.unity.helloar I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-22 10:26:20.102 14536-14557/com.google.ar.core.examples.unity.helloar I/OpenGLRenderer: Initialized EGL, version 1.4
12-22 10:26:20.103 14536-14557/com.google.ar.core.examples.unity.helloar D/OpenGLRenderer: Swap behavior 2
12-22 10:26:20.110 14536-14536/com.google.ar.core.examples.unity.helloar D/Unity: SetWindow 0 0xc849e008
12-22 10:26:20.110 14536-14536/com.google.ar.core.examples.unity.helloar D/Unity: SetWindow 0 0xc849e008
12-22 10:26:20.146 14536-14536/com.google.ar.core.examples.unity.helloar I/Unity: windowFocusChanged: true
12-22 10:26:20.167 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Loading ARCore V1+ path.
12-22 10:26:20.172 14536-14554/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_onUnityPlayerInitialize
12-22 10:26:20.172 14536-14554/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_getARCoreSupportStatus, expected_api_level=1, supported_api_level=1
12-22 10:26:20.172 14536-14554/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_onUnityPlayerResume
12-22 10:26:20.173 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [VFS] Mount /data/app/com.google.ar.core.examples.unity.helloar-pbvnSJr95s06qiUWxNpYHQ==/base.apk
12-22 10:26:20.202 14536-14554/com.google.ar.core.examples.unity.helloar I/Unity: SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 3754mb
12-22 10:26:20.202 14536-14554/com.google.ar.core.examples.unity.helloar I/Unity: SystemInfo ARM big.LITTLE configuration: 2 big (mask: 12), 2 little (mask: 3)
12-22 10:26:20.203 14536-14554/com.google.ar.core.examples.unity.helloar I/Unity: ApplicationInfo com.google.ar.core.examples.unity.helloar version 1.0 build 42ea305b-c3da-4df8-8a68-39f83ea4ab1d
12-22 10:26:20.203 14536-14554/com.google.ar.core.examples.unity.helloar I/Unity: Built from '2017.3/staging' branch, Version '2017.3.0f2 (d3a5469e8c44)', Build type 'Development', Scripting Backend 'mono'
12-22 10:26:20.203 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Attaching window :0xc849e008
12-22 10:26:20.214 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Mono path[0] = '/data/app/com.google.ar.core.examples.unity.helloar-pbvnSJr95s06qiUWxNpYHQ==/base.apk/assets/bin/Data/Managed'
12-22 10:26:20.215 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Mono config path = 'assets/bin/Data/Managed/etc'
12-22 10:26:20.215 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: PlayerConnection initialized from /data/app/com.google.ar.core.examples.unity.helloar-pbvnSJr95s06qiUWxNpYHQ==/base.apk/assets/bin/Data (debug = 0)
12-22 10:26:20.215 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: PlayerConnection initialized network socket : 0.0.0.0 55152
12-22 10:26:20.215 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: PlayerConnection initialized unix socket : Unity-com.google.ar.core.examples.unity.helloar
12-22 10:26:20.216 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Multi-casting "[IP] 192.168.230.51 [Port] 55152 [Flags] 2 [Guid] 1813689603 [EditorId] 1686252694 [Version] 1048832 [Id] AndroidPlayer(Google_Pixel@192.168.230.51) [Debug] 0" to [225.0.0.222:54997]...
12-22 10:26:20.216 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Started listening to [0.0.0.0:55152]
12-22 10:26:20.264 14536-14536/com.google.ar.core.examples.unity.helloar D/Unity: SetWindow 0 0xd9c3a808
12-22 10:26:20.335 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: InitializeScriptEngine OK (da266e40)
12-22 10:26:20.335 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: PlayerConnection already initialized - listening to [0.0.0.0:55152]
12-22 10:26:20.362 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Unable to lookup library path for 'unitygar', native render plugin support disabled.
12-22 10:26:20.366 14536-14554/com.google.ar.core.examples.unity.helloar E/Unity: Unable to find unitygar
12-22 10:26:20.366 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: PlayerInitEngineNoGraphics OK
12-22 10:26:20.366 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: AndroidGraphics::Startup window =  0xd9c3a808
12-22 10:26:20.366 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Attaching window :0xd9c3a808
12-22 10:26:20.371 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
12-22 10:26:20.371 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Checking ES 3.1 support...
12-22 10:26:20.374 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] ES 3.1 support detected
12-22 10:26:20.374 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0
12-22 10:26:20.374 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
12-22 10:26:20.375 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0
12-22 10:26:20.375 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Request: ES 3.0 RGBA32 8888 0/0
12-22 10:26:20.379 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Found: ID[9] ES 3.0 RGBA32 8888 0/0 AFBT
12-22 10:26:20.386 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: ANativeWindow: (1080/1920) RequestedResolution: (0/0) RenderingResolution: (0/0) EGLSurface: (1080/1920)
12-22 10:26:20.391 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Renderer: Adreno (TM) 530
12-22 10:26:20.391 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Vendor:   Qualcomm
12-22 10:26:20.391 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Version:  OpenGL ES 3.2 V@258.0 (GIT@2941438, I916dfac403) (Date:10/03/17)
12-22 10:26:20.391 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: GLES:     3
12-22 10:26:20.392 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity:  GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_EXT_mul
12-22 10:26:20.392 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: tisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance
12-22 10:26:20.392 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity:  GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_framebuffer_foveated GL_QCOM_shader_framebuffer_fetch_noncoherent GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation
12-22 10:26:20.411 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: OPENGL LOG: Creating OpenGL ES 3.2 graphics device ; Context level  <OpenGL ES 3.1 AEP> ; Context handle -973947712
12-22 10:26:20.412 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Attaching window :0xd9c3a808
12-22 10:26:20.413 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Requested framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[on], samples[1]
12-22 10:26:20.413 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Created framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[24/8], samples[0] 
12-22 10:26:20.413 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Attaching window :0xd9c3a808
12-22 10:26:20.413 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Initialize engine version: 2017.3.0f2 (d3a5469e8c44)
12-22 10:26:20.444 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: AudioManager: Selecting OpenSL output...

                                                                                  [ 12-22 10:26:20.447 14536:14554 D/         ]
                                                                                  PlayerBase::PlayerBase()

                                                                                  [ 12-22 10:26:20.448 14536:14554 D/         ]
                                                                                  TrackPlayerBase::TrackPlayerBase()
12-22 10:26:20.448 14536-14554/com.google.ar.core.examples.unity.helloar I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
12-22 10:26:20.448 14536-14554/com.google.ar.core.examples.unity.helloar W/AudioTrack: notificationFrames=-10 clamped to the range -1 to -8
12-22 10:26:20.451 14536-14554/com.google.ar.core.examples.unity.helloar I/AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 1536 -> 1536
12-22 10:26:20.451 14536-14554/com.google.ar.core.examples.unity.helloar D/AudioTrack: Client defaulted notificationFrames to 192 for frameCount 1536
12-22 10:26:20.463 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Begin MonoManager ReloadAssembly
12-22 10:26:20.799 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: - Completed reload, in  0.337 seconds
12-22 10:26:21.079 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: PlayerInitEngineGraphics OK
12-22 10:26:21.081 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Found 27 native sensors
12-22 10:26:21.085 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 10:26:21.087 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 10:26:21.104 14536-14554/com.google.ar.core.examples.unity.helloar V/MediaRouter: Adding route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
12-22 10:26:21.114 14536-14554/com.google.ar.core.examples.unity.helloar V/MediaRouter: Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
12-22 10:26:21.181 14536-14641/com.google.ar.core.examples.unity.helloar D/Unity: Setting up 1 worker threads for Enlighten.
12-22 10:26:21.182 14536-14642/com.google.ar.core.examples.unity.helloar D/Unity:   Thread -> id: ffffffffc260e970 -> priority: 1 
12-22 10:26:23.148 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: UnloadTime: 3.356000 ms
12-22 10:26:23.154 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: UUID: 1317d621e4700a50 => 2412cc392bec8ed8873a7a7b7576f5c5
12-22 10:26:23.191 14536-14596/com.google.ar.core.examples.unity.helloar D/NetworkSecurityConfig: No Network Security Config specified, using platform default
12-22 10:26:23.216 14536-14554/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_createSession
12-22 10:26:23.216 14536-14554/com.google.ar.core.examples.unity.helloar I/native: session_create.cc:62 Entering ArSession_create.
12-22 10:26:23.239 14536-14554/com.google.ar.core.examples.unity.helloar I/native: session_create.cc:28 DYNAMITE_LOAD_RESULT_OK
12-22 10:26:23.252 14536-14554/com.google.ar.core.examples.unity.helloar I/native: session_create_implementation.cc:329 Entering ArSession_createImplementation. ARCore SDK version: [0.91.0].
12-22 10:26:23.265 14536-14554/com.google.ar.core.examples.unity.helloar I/tango-ndk-hal: Found sailfish:8.1: Setting LPF accel: -3.470 ms. gyro: -3.470 ms
12-22 10:26:23.273 14536-14554/com.google.ar.core.examples.unity.helloar I/native: performance_manager.cc:22 Processor data: Num processors 4
                                                                                   Processor type: LittleBig
                                                                                   Num small cores 2
                                                                                   Max frequency 1593600
                                                                                   Min frequency 307200
                                                                                   Small cores 0 1
                                                                                   Num big cores 2
                                                                                   Max frequency 2150400
                                                                                   Min frequency 307200
                                                                                   Big cores 2 3
12-22 10:26:23.274 14536-14554/com.google.ar.core.examples.unity.helloar I/native: device_provider.cc:526 Identified device type: kSailfish
12-22 10:26:23.276 14536-14554/com.google.ar.core.examples.unity.helloar I/native: feature_matching_base.cc:38 Using gyro prediction for matching.
12-22 10:26:23.276 14536-14554/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-0 is 21.2132 pixels.
12-22 10:26:23.276 14536-14554/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-1 is 42.4264 pixels.
12-22 10:26:23.276 14536-14554/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-2 is 64.1467 pixels.
12-22 10:26:23.276 14536-14554/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-3 is 99.4286 pixels.
12-22 10:26:23.276 14536-14554/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-4 is 148.18 pixels.
12-22 10:26:23.276 14536-14554/com.google.ar.core.examples.unity.helloar I/native: gyro_feature_matching.cc:20 Running tracker at 10 Hz.
12-22 10:26:23.277 14536-14554/com.google.ar.core.examples.unity.helloar I/native: vio_helper.cc:46 Use calibrated IMU scale factors.
12-22 10:26:23.277 14536-14554/com.google.ar.core.examples.unity.helloar I/native: vio_helper.cc:58 Use calibrated IMU misalignment factors.
12-22 10:26:23.277 14536-14554/com.google.ar.core.examples.unity.helloar I/native: data_manager.cc:79 Mapping Config: 
                                                                                   ViwlsConfig: 
                                                                                   OnlineMappingConfig: 
                                                                                   enable_online_viwls: 1
                                                                                   load_online_map_in_vio: 1
                                                                                   enable_lite_com: 0
                                                                                   incrementally_build_problem: 0

                                                                                   MapFormulationConfig: 
                                                                                   vio_drift_tolerance_rotation: 0.05
                                                                                   vio_drift_tolerance_translation: 0.2
                                                                                   enable_keypoint_pruning: 1
                                                                                   enable_local_map_tracking: 1
                                                                                   add_every_nth_keyframe: 3

                                                                                   WLS_options: 
                                                                                   estimate_camera_intrinsics: 0
                                                                                   estimate_imu_camera_extrinsics: 0
                                                                                   estimate_imu_intrinsics: 0
                                                                                   calculate_keyframe_covariance: 0
                                                                                   calculate_landmark_covariance: 0
                                                                                   calculate_calibration_parameters_covariance: 0
                                                                                   use_huber_loss_visual_cost_term: 1
                                                                                   nonlinear_optimization_type: NLWLS
                                                                                   num_outlier_rejection_loops: 1
                                                                                   log_viwls_state_estimates_to_file: 0
                                                                                   minimize_photometric_error: 0
                                                                                   fail_on_missing_inv_depth_base_keyframe: 1
                                                                                   enable_lite_com: 0
                                                                                   ViwlsProblemType: kMarginalizedViwls
                                                                                   incrementally_build_problem: 0

                                                                                   MapSparsifierConfig: 
                                                                                   enable_debug_output: 0
                                                                                   marginalize_n_keyframes: 20
                                                                                   retain_n_keyframes: 5
                                                                                   enable_marginalization: 1

                                                                                   MapLandmarkConfig: 
                                                                                   min_landmark_observations: 5
                                                                                   LandmarkParam: k3DInverseDepth
                                                                                   min_depth_of_pointlandmark_from_image_plane: 0.05
                                                                                   max_depth_of_pointlandmark_from_image_plane: 15
                                                                                   landmark_covariance_use_approximation: 1
                                                                                   keypoint_pixel_sigma: 1

                                                                                   Debug_options: 
                                                                                   simulator_export_state_error_sigma_info: 0
                                                                                   log_visual_residuals: 0
                                                                                   evaluation_log_directory: 

                                                                                   DataManagerConfig: 
                                                                                   visualization_enabled: 0
                                                                                   execute_in_thread: 1
                                                                                   enable_online_calibration: 0
                                                                                   log_maps_for_visualization: 0
                                                                                   fisheye_buffer_size: 7
                                                                                   save_map_with_uuid_as_filename: 0
                                                                                   save_map_filename: 
                                                                                   evaluation_log_directory: 

                                                                                   MapLifeCycleConfig: 
                                                                                   save_map_for_structure_relocalization: 0
                                                                                   enable_multi_map_merging: 1
                                                                                   enable_time_base_map_split: 1

                                                                                   MultiMapManagerConfig: 
                                                                                   threshold_position_meters: 2
                                                                                   threshold_orientation_radians: 0.174
                                                                                   min_num_cross_adf_constraints: 9
                                                                                   perform_full_multimap_optimization: 0
                                                                                   merge_active_map_until_stable_coregistration: 1
                                                                                   min_number_of_keyframes_to_add_adf: 25
12-22 10:26:23.390 14536-14554/com.google.ar.core.examples.unity.helloar I/native: backend_base.h:55 LC-backend initialized.
12-22 10:26:23.405 14536-14554/com.google.ar.core.examples.unity.helloar I/native: loop_detector_graph.cc:52 Initializing localizer with: loop_detector_engine: inverted_multi_index_pq
                                                                                   low_power_localization: 0
                                                                                   feature_descriptor: lens_invariant_ocvfreak
                                                                                   override projection_matrix: 
                                                                                   override quantizer: 
                                                                                   override product quantizer: 
                                                                                   max_num_of_image_to_image_matches: 1
                                                                                   use_landmarks_for_relocalization: 0
                                                                                   use_augmentation_with_previous_matches: 1
                                                                                   verification_options:
                                                                                   skip_bad_landmarks: 1
                                                                                   overwrite_hamming_distance_threshold: -1
                                                                                   min_geom_inlier_ratio: 0.35
                                                                                   Ransac structure matching:
                                                                                   min_num_points: 8
                                                                                   max_iterations: 50
                                                                                   confidence: 0.99
                                                                                   sampson_error_threshold: 0.0008
                                                                                   use_upright_pose_estimation: 1

                                                                                   Ransac image to image matching:
                                                                                   min_num_points: 8
                                                                                   max_iterations: 50
                                                                                   confidence: 0.99
                                                                                   sampson_error_threshold: 0.0001
                                                                                   use_upright_pose_estimation: 1

                                                                                   compute_relative_pose_covariance: 0
                                                                                   max_num_points_covariance_calc: 60
                                                                                   min_match_image_time_difference: 10
                                                                                   gravity_direction_threshold_degrees: 5
                                                                                   matching_engine_options:
                                                                                   projected_descriptor_dimensions: 16
                                                                                   num_closest_words_for_nn_search: 30
                                                                                   knn_search_epsilon: 2
                                                                                   knn_max_radius: 100
                                                                                   num_neighbors: -1
                                                                                   vote_filter_type: covisibility-graph-filter
                                                                                   use pose prior for image to image matching: 0
12-22 10:26:23.422 14536-14554/com.google.ar.core.examples.unity.helloar I/native: backend_base.h:55 LC-backend initialized.
12-22 10:26:23.437 14536-14554/com.google.ar.core.examples.unity.helloar I/native: session_create_implementation.cc:366 ArSession_createImplementation returning OK.
12-22 10:26:23.684 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 10:26:23.689 14536-14554/com.google.ar.core.examples.unity.helloar D/Unity: Choreographer available: Enabling VSYNC timing
12-22 10:26:23.710 14536-14536/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_resumeSession
12-22 10:26:23.710 14536-14536/com.google.ar.core.examples.unity.helloar I/Unity: testAndSet succeeded, state=3
12-22 10:26:23.710 14536-14536/com.google.ar.core.examples.unity.helloar I/native: session.cc:207 Entering Session::Resume.
12-22 10:26:23.710 14536-14536/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:1108 Initializing camera manager.
12-22 10:26:23.713 14536-14536/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:1123 Camera manager initialized successfully with 2 cameras.
12-22 10:26:23.714 14536-14536/com.google.ar.core.examples.unity.helloar E/NdkImageReader: AImageReader_getWindow
iBicha commented 6 years ago

Here's more weird stuff, switched to .NET 3.5, running Mono backend, got a different, but more informative logcat. It crashes with this toast message:

12-22 10:41:22.971 17674-17674/? I/zygote: Late-enabling -Xcheck:jni
12-22 10:41:23.036 17674-17681/? I/zygote: Debugger is no longer active
12-22 10:41:23.177 17674-17674/? I/Unity: onResume
12-22 10:41:23.187 17674-17691/? D/OpenGLRenderer: HWUI GL Pipeline
12-22 10:41:23.234 17674-17691/? I/Adreno: QUALCOMM build                   : 2941438, I916dfac403
                                           Build Date                       : 10/03/17
                                           OpenGL ES Shader Compiler Version: EV031.21.02.00
                                           Local Branch                     : O18A
                                           Remote Branch                    : 
                                           Remote Branch                    : 
                                           Reconstruct Branch               : 
12-22 10:41:23.237 17674-17691/? I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
12-22 10:41:23.241 17674-17691/? I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-22 10:41:23.242 17674-17691/? I/OpenGLRenderer: Initialized EGL, version 1.4
12-22 10:41:23.242 17674-17691/? D/OpenGLRenderer: Swap behavior 2
12-22 10:41:23.246 17674-17674/? D/Unity: SetWindow 0 0xd9c7c808
12-22 10:41:23.247 17674-17674/? D/Unity: SetWindow 0 0xd9c7c808
12-22 10:41:23.283 17674-17674/? I/Unity: windowFocusChanged: true
12-22 10:41:23.307 17674-17690/? D/Unity: Loading ARCore V1+ path.
12-22 10:41:23.312 17674-17690/? I/Unity: ArCoreUnity_onUnityPlayerInitialize
12-22 10:41:23.313 17674-17690/? I/Unity: ArCoreUnity_getARCoreSupportStatus, expected_api_level=1, supported_api_level=1
12-22 10:41:23.313 17674-17690/? I/Unity: ArCoreUnity_onUnityPlayerResume
12-22 10:41:23.313 17674-17690/? D/Unity: [VFS] Mount /data/app/com.google.ar.core.examples.unity.helloar-iqDDTkzNjyFzL39FfT5BEg==/base.apk
12-22 10:41:23.340 17674-17690/? I/Unity: SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 3754mb
12-22 10:41:23.340 17674-17690/? I/Unity: SystemInfo ARM big.LITTLE configuration: 2 big (mask: 12), 2 little (mask: 3)
12-22 10:41:23.343 17674-17690/? I/Unity: ApplicationInfo com.google.ar.core.examples.unity.helloar version 1.0 build bd1a5ffb-f762-488c-a935-e008bfcea220
12-22 10:41:23.343 17674-17690/? I/Unity: Built from '2017.3/staging' branch, Version '2017.3.0f2 (d3a5469e8c44)', Build type 'Development', Scripting Backend 'mono'
12-22 10:41:23.343 17674-17690/? D/Unity: [EGL] Attaching window :0xd9c7c808
12-22 10:41:23.350 17674-17690/? D/Unity: Unable to find library path for 'monobdwgc-2.0'.
12-22 10:41:23.354 17674-17690/? D/Unity: Mono path[0] = '/data/app/com.google.ar.core.examples.unity.helloar-iqDDTkzNjyFzL39FfT5BEg==/base.apk/assets/bin/Data/Managed'
12-22 10:41:23.354 17674-17690/? D/Unity: Mono config path = 'assets/bin/Data/Managed/etc'
12-22 10:41:23.354 17674-17690/? D/Unity: PlayerConnection initialized from /data/app/com.google.ar.core.examples.unity.helloar-iqDDTkzNjyFzL39FfT5BEg==/base.apk/assets/bin/Data (debug = 0)
12-22 10:41:23.355 17674-17690/? D/Unity: PlayerConnection initialized network socket : 0.0.0.0 55506
12-22 10:41:23.355 17674-17690/? D/Unity: PlayerConnection initialized unix socket : Unity-com.google.ar.core.examples.unity.helloar
12-22 10:41:23.358 17674-17690/? D/Unity: Multi-casting "[IP] 192.168.230.51 [Port] 55506 [Flags] 2 [Guid] 704781880 [EditorId] 500400246 [Version] 1048832 [Id] AndroidPlayer(Google_Pixel@192.168.230.51) [Debug] 0" to [225.0.0.222:54997]...
12-22 10:41:23.358 17674-17690/? D/Unity: Started listening to [0.0.0.0:55506]
12-22 10:41:23.397 17674-17674/? D/Unity: SetWindow 0 0xd9c7c808
12-22 10:41:23.436 17674-17690/? D/Unity: InitializeScriptEngine OK (e4b37ee0)
12-22 10:41:23.436 17674-17690/? D/Unity: PlayerConnection already initialized - listening to [0.0.0.0:55506]
12-22 10:41:23.453 17674-17690/? D/Unity: Unable to lookup library path for 'unitygar', native render plugin support disabled.
12-22 10:41:23.454 17674-17690/? E/Unity: Unable to find unitygar
12-22 10:41:23.454 17674-17690/? D/Unity: PlayerInitEngineNoGraphics OK
12-22 10:41:23.454 17674-17690/? D/Unity: AndroidGraphics::Startup window =  0xd9c7c808
12-22 10:41:23.454 17674-17690/? D/Unity: [EGL] Attaching window :0xd9c7c808
12-22 10:41:23.459 17674-17690/? D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
12-22 10:41:23.459 17674-17690/? D/Unity: [EGL] Checking ES 3.1 support...
12-22 10:41:23.461 17674-17690/? D/Unity: [EGL] ES 3.1 support detected
12-22 10:41:23.461 17674-17690/? D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0
12-22 10:41:23.462 17674-17690/? D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
12-22 10:41:23.462 17674-17690/? D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0
12-22 10:41:23.462 17674-17690/? D/Unity: [EGL] Request: ES 3.0 RGBA32 8888 0/0
12-22 10:41:23.467 17674-17690/? D/Unity: [EGL] Found: ID[9] ES 3.0 RGBA32 8888 0/0 AFBT
12-22 10:41:23.471 17674-17690/? D/Unity: ANativeWindow: (1080/1920) RequestedResolution: (0/0) RenderingResolution: (0/0) EGLSurface: (1080/1920)
12-22 10:41:23.476 17674-17690/? D/Unity: Renderer: Adreno (TM) 530
12-22 10:41:23.477 17674-17690/? D/Unity: Vendor:   Qualcomm
12-22 10:41:23.477 17674-17690/? D/Unity: Version:  OpenGL ES 3.2 V@258.0 (GIT@2941438, I916dfac403) (Date:10/03/17)
12-22 10:41:23.477 17674-17690/? D/Unity: GLES:     3
12-22 10:41:23.477 17674-17690/? D/Unity:  GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_EXT_mul
12-22 10:41:23.477 17674-17690/? D/Unity: tisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance
12-22 10:41:23.477 17674-17690/? D/Unity:  GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_framebuffer_foveated GL_QCOM_shader_framebuffer_fetch_noncoherent GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation
12-22 10:41:23.485 17674-17690/? D/Unity: OPENGL LOG: Creating OpenGL ES 3.2 graphics device ; Context level  <OpenGL ES 3.1 AEP> ; Context handle -970915968
12-22 10:41:23.485 17674-17690/? D/Unity: [EGL] Attaching window :0xd9c7c808
12-22 10:41:23.486 17674-17690/? D/Unity: Requested framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[on], samples[1]
12-22 10:41:23.486 17674-17690/? D/Unity: Created framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[24/8], samples[0] 
12-22 10:41:23.486 17674-17690/? D/Unity: [EGL] Attaching window :0xd9c7c808
12-22 10:41:23.486 17674-17690/? D/Unity: Initialize engine version: 2017.3.0f2 (d3a5469e8c44)
12-22 10:41:23.504 17674-17690/? D/Unity: AudioManager: Selecting OpenSL output...

                                          [ 12-22 10:41:23.505 17674:17690 D/         ]
                                          PlayerBase::PlayerBase()

                                          [ 12-22 10:41:23.506 17674:17690 D/         ]
                                          TrackPlayerBase::TrackPlayerBase()
12-22 10:41:23.506 17674-17690/? I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
12-22 10:41:23.506 17674-17690/? W/AudioTrack: notificationFrames=-10 clamped to the range -1 to -8
12-22 10:41:23.507 17674-17690/? I/AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 1536 -> 1536
12-22 10:41:23.507 17674-17690/? D/AudioTrack: Client defaulted notificationFrames to 192 for frameCount 1536
12-22 10:41:23.518 17674-17690/? D/Unity: Begin MonoManager ReloadAssembly
12-22 10:41:23.711 17674-17690/? D/Unity: - Completed reload, in  0.193 seconds
12-22 10:41:23.932 17674-17690/? D/Unity: PlayerInitEngineGraphics OK
12-22 10:41:23.934 17674-17690/? D/Unity: Found 27 native sensors
12-22 10:41:23.938 17674-17690/? D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 10:41:23.940 17674-17690/? D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 10:41:23.954 17674-17690/? V/MediaRouter: Adding route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
12-22 10:41:23.961 17674-17690/? V/MediaRouter: Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
12-22 10:41:24.012 17674-17732/? D/Unity: Setting up 1 worker threads for Enlighten.
12-22 10:41:24.012 17674-17733/? D/Unity:   Thread -> id: ffffffffc2802970 -> priority: 1 
12-22 10:41:25.999 17674-17690/com.google.ar.core.examples.unity.helloar D/Unity: UnloadTime: 5.140000 ms
12-22 10:41:26.009 17674-17690/com.google.ar.core.examples.unity.helloar D/Unity: UUID: 1317d621e4700a50 => 2412cc392bec8ed8873a7a7b7576f5c5
12-22 10:41:26.032 17674-17719/com.google.ar.core.examples.unity.helloar D/NetworkSecurityConfig: No Network Security Config specified, using platform default
12-22 10:41:26.075 17674-17690/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_createSession
12-22 10:41:26.075 17674-17690/com.google.ar.core.examples.unity.helloar I/native: session_create.cc:62 Entering ArSession_create.
12-22 10:41:26.099 17674-17690/com.google.ar.core.examples.unity.helloar I/native: session_create.cc:28 DYNAMITE_LOAD_RESULT_OK
12-22 10:41:26.114 17674-17690/com.google.ar.core.examples.unity.helloar I/native: session_create_implementation.cc:329 Entering ArSession_createImplementation. ARCore SDK version: [0.91.0].
12-22 10:41:26.129 17674-17690/com.google.ar.core.examples.unity.helloar I/tango-ndk-hal: Found sailfish:8.1: Setting LPF accel: -3.470 ms. gyro: -3.470 ms
12-22 10:41:26.136 17674-17690/com.google.ar.core.examples.unity.helloar I/native: performance_manager.cc:22 Processor data: Num processors 4
                                                                                   Processor type: LittleBig
                                                                                   Num small cores 2
                                                                                   Max frequency 1593600
                                                                                   Min frequency 307200
                                                                                   Small cores 0 1
                                                                                   Num big cores 2
                                                                                   Max frequency 2150400
                                                                                   Min frequency 307200
                                                                                   Big cores 2 3
12-22 10:41:26.137 17674-17690/com.google.ar.core.examples.unity.helloar I/native: device_provider.cc:526 Identified device type: kSailfish
12-22 10:41:26.138 17674-17690/com.google.ar.core.examples.unity.helloar I/native: feature_matching_base.cc:38 Using gyro prediction for matching.
12-22 10:41:26.139 17674-17690/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-0 is 21.2132 pixels.
12-22 10:41:26.139 17674-17690/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-1 is 42.4264 pixels.
12-22 10:41:26.139 17674-17690/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-2 is 64.1467 pixels.
12-22 10:41:26.139 17674-17690/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-3 is 99.4286 pixels.
12-22 10:41:26.139 17674-17690/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-4 is 148.18 pixels.
12-22 10:41:26.139 17674-17690/com.google.ar.core.examples.unity.helloar I/native: gyro_feature_matching.cc:20 Running tracker at 10 Hz.
12-22 10:41:26.140 17674-17690/com.google.ar.core.examples.unity.helloar I/native: vio_helper.cc:46 Use calibrated IMU scale factors.
12-22 10:41:26.140 17674-17690/com.google.ar.core.examples.unity.helloar I/native: vio_helper.cc:58 Use calibrated IMU misalignment factors.
12-22 10:41:26.140 17674-17690/com.google.ar.core.examples.unity.helloar I/native: data_manager.cc:79 Mapping Config: 
                                                                                   ViwlsConfig: 
                                                                                   OnlineMappingConfig: 
                                                                                   enable_online_viwls: 1
                                                                                   load_online_map_in_vio: 1
                                                                                   enable_lite_com: 0
                                                                                   incrementally_build_problem: 0

                                                                                   MapFormulationConfig: 
                                                                                   vio_drift_tolerance_rotation: 0.05
                                                                                   vio_drift_tolerance_translation: 0.2
                                                                                   enable_keypoint_pruning: 1
                                                                                   enable_local_map_tracking: 1
                                                                                   add_every_nth_keyframe: 3

                                                                                   WLS_options: 
                                                                                   estimate_camera_intrinsics: 0
                                                                                   estimate_imu_camera_extrinsics: 0
                                                                                   estimate_imu_intrinsics: 0
                                                                                   calculate_keyframe_covariance: 0
                                                                                   calculate_landmark_covariance: 0
                                                                                   calculate_calibration_parameters_covariance: 0
                                                                                   use_huber_loss_visual_cost_term: 1
                                                                                   nonlinear_optimization_type: NLWLS
                                                                                   num_outlier_rejection_loops: 1
                                                                                   log_viwls_state_estimates_to_file: 0
                                                                                   minimize_photometric_error: 0
                                                                                   fail_on_missing_inv_depth_base_keyframe: 1
                                                                                   enable_lite_com: 0
                                                                                   ViwlsProblemType: kMarginalizedViwls
                                                                                   incrementally_build_problem: 0

                                                                                   MapSparsifierConfig: 
                                                                                   enable_debug_output: 0
                                                                                   marginalize_n_keyframes: 20
                                                                                   retain_n_keyframes: 5
                                                                                   enable_marginalization: 1

                                                                                   MapLandmarkConfig: 
                                                                                   min_landmark_observations: 5
                                                                                   LandmarkParam: k3DInverseDepth
                                                                                   min_depth_of_pointlandmark_from_image_plane: 0.05
                                                                                   max_depth_of_pointlandmark_from_image_plane: 15
                                                                                   landmark_covariance_use_approximation: 1
                                                                                   keypoint_pixel_sigma: 1

                                                                                   Debug_options: 
                                                                                   simulator_export_state_error_sigma_info: 0
                                                                                   log_visual_residuals: 0
                                                                                   evaluation_log_directory: 

                                                                                   DataManagerConfig: 
                                                                                   visualization_enabled: 0
                                                                                   execute_in_thread: 1
                                                                                   enable_online_calibration: 0
                                                                                   log_maps_for_visualization: 0
                                                                                   fisheye_buffer_size: 7
                                                                                   save_map_with_uuid_as_filename: 0
                                                                                   save_map_filename: 
                                                                                   evaluation_log_directory: 

                                                                                   MapLifeCycleConfig: 
                                                                                   save_map_for_structure_relocalization: 0
                                                                                   enable_multi_map_merging: 1
                                                                                   enable_time_base_map_split: 1

                                                                                   MultiMapManagerConfig: 
                                                                                   threshold_position_meters: 2
                                                                                   threshold_orientation_radians: 0.174
                                                                                   min_num_cross_adf_constraints: 9
                                                                                   perform_full_multimap_optimization: 0
                                                                                   merge_active_map_until_stable_coregistration: 1
                                                                                   min_number_of_keyframes_to_add_adf: 25
12-22 10:41:26.253 17674-17690/com.google.ar.core.examples.unity.helloar I/native: backend_base.h:55 LC-backend initialized.
12-22 10:41:26.270 17674-17690/com.google.ar.core.examples.unity.helloar I/native: loop_detector_graph.cc:52 Initializing localizer with: loop_detector_engine: inverted_multi_index_pq
                                                                                   low_power_localization: 0
                                                                                   feature_descriptor: lens_invariant_ocvfreak
                                                                                   override projection_matrix: 
                                                                                   override quantizer: 
                                                                                   override product quantizer: 
                                                                                   max_num_of_image_to_image_matches: 1
                                                                                   use_landmarks_for_relocalization: 0
                                                                                   use_augmentation_with_previous_matches: 1
                                                                                   verification_options:
                                                                                   skip_bad_landmarks: 1
                                                                                   overwrite_hamming_distance_threshold: -1
                                                                                   min_geom_inlier_ratio: 0.35
                                                                                   Ransac structure matching:
                                                                                   min_num_points: 8
                                                                                   max_iterations: 50
                                                                                   confidence: 0.99
                                                                                   sampson_error_threshold: 0.0008
                                                                                   use_upright_pose_estimation: 1

                                                                                   Ransac image to image matching:
                                                                                   min_num_points: 8
                                                                                   max_iterations: 50
                                                                                   confidence: 0.99
                                                                                   sampson_error_threshold: 0.0001
                                                                                   use_upright_pose_estimation: 1

                                                                                   compute_relative_pose_covariance: 0
                                                                                   max_num_points_covariance_calc: 60
                                                                                   min_match_image_time_difference: 10
                                                                                   gravity_direction_threshold_degrees: 5
                                                                                   matching_engine_options:
                                                                                   projected_descriptor_dimensions: 16
                                                                                   num_closest_words_for_nn_search: 30
                                                                                   knn_search_epsilon: 2
                                                                                   knn_max_radius: 100
                                                                                   num_neighbors: -1
                                                                                   vote_filter_type: covisibility-graph-filter
                                                                                   use pose prior for image to image matching: 0
12-22 10:41:26.288 17674-17690/com.google.ar.core.examples.unity.helloar I/native: backend_base.h:55 LC-backend initialized.
12-22 10:41:26.303 17674-17690/com.google.ar.core.examples.unity.helloar I/native: session_create_implementation.cc:366 ArSession_createImplementation returning OK.
12-22 10:41:26.474 17674-17690/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 10:41:26.482 17674-17690/com.google.ar.core.examples.unity.helloar D/Unity: Choreographer available: Enabling VSYNC timing
12-22 10:41:26.491 17674-17674/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_resumeSession
12-22 10:41:26.491 17674-17674/com.google.ar.core.examples.unity.helloar I/Unity: testAndSet succeeded, state=3
12-22 10:41:26.491 17674-17674/com.google.ar.core.examples.unity.helloar I/native: session.cc:207 Entering Session::Resume.
12-22 10:41:26.491 17674-17674/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:1108 Initializing camera manager.
12-22 10:41:26.501 17674-17674/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:1123 Camera manager initialized successfully with 2 cameras.
12-22 10:41:26.503 17674-17674/com.google.ar.core.examples.unity.helloar E/NdkImageReader: AImageReader_getWindow
12-22 10:41:26.511 17674-17674/com.google.ar.core.examples.unity.helloar E/ACameraManager: openCamera: connect camera device failed: Status(-8): '7: connectHelper:1338: Higher-priority client using camera, ID "0" currently unavailable'
12-22 10:41:26.511 17674-17674/com.google.ar.core.examples.unity.helloar E/native: android_camera.cc:618 Reset: Resetting camera 0 from an ERROR state, best effort clean-up commencing
12-22 10:41:26.512 17674-17674/com.google.ar.core.examples.unity.helloar W/native: session.cc:237 Session::Resume returning generic::resource_exhausted: ACameraManager_openCamera.
12-22 10:41:26.512 17674-17674/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 generic::resource_exhausted: ACameraManager_openCamera
12-22 10:41:26.512 17674-17674/com.google.ar.core.examples.unity.helloar E/Unity: Could not resume the session because call to ArSession_resume failed with status code -2.
12-22 10:41:26.679 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:26.716 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:26.720 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:26.740 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:26.742 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:26.777 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:26.780 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:26.791 17674-17679/com.google.ar.core.examples.unity.helloar I/zygote: Do partial code cache collection, code=24KB, data=27KB
12-22 10:41:26.792 17674-17679/com.google.ar.core.examples.unity.helloar I/zygote: After code cache collection, code=24KB, data=27KB
12-22 10:41:26.793 17674-17679/com.google.ar.core.examples.unity.helloar I/zygote: Increasing code cache capacity to 128KB
12-22 10:41:26.809 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:26.810 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:26.842 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:26.846 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:26.876 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:26.879 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:26.909 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:26.913 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:26.943 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:26.947 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:26.976 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:26.979 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:27.010 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:27.015 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:27.044 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:27.047 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:27.077 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:27.081 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:27.110 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:27.112 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:27.144 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:27.149 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:27.177 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:27.182 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:27.212 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:27.215 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:27.244 17674-17690/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:41:27.247 17674-17690/com.google.ar.core.examples.unity.helloar E/Unity: NullReferenceException: Object reference not set to an instance of an object
                                                                                    at GoogleARCore.TextureReader.TextureReader.Update () [0x0014d] in /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs:186 

                                                                                  (Filename: /Users/ibicha/Downloads/arcore-unity-sdk-master/Assets/GoogleARCore/Examples/ComputerVision/Scripts/TextureReader.cs Line: 186)
12-22 10:41:27.258 17674-17674/com.google.ar.core.examples.unity.helloar I/Unity: onPause
12-22 10:41:27.258 17674-17674/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_onUnityPlayerPause
12-22 10:41:27.258 17674-17674/com.google.ar.core.examples.unity.helloar I/Unity: testAndSet succeeded, state=4
12-22 10:41:27.258 17674-17674/com.google.ar.core.examples.unity.helloar I/native: session.cc:248 Entering Session::Pause.
12-22 10:41:27.259 17674-17674/com.google.ar.core.examples.unity.helloar W/native: session.cc:267 Session::Pause returning generic::failed_precondition: expected_state=Started state=Initialized.
12-22 10:41:27.259 17674-17674/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 generic::failed_precondition: expected_state=Started state=Initialized
12-22 10:41:27.288 17674-17690/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_destroySession
12-22 10:41:27.289 17674-17690/com.google.ar.core.examples.unity.helloar I/native: session_c_api.cc:306 Deleting ArSession...
12-22 10:41:27.290 17674-17690/com.google.ar.core.examples.unity.helloar I/native: feature_combo_node.cc:195 Cleared scoped_image buffers in feature_combo.
12-22 10:41:27.290 17674-17690/com.google.ar.core.examples.unity.helloar I/native: landmark_associator.cc:16 Total number of unique processed features: 0
12-22 10:41:27.290 17674-17690/com.google.ar.core.examples.unity.helloar I/native: landmark_associator.cc:20 Number of unique landmarks with at least two measurements: 0
12-22 10:41:27.290 17674-17690/com.google.ar.core.examples.unity.helloar I/native: landmark_associator.cc:22 Total number of landmarks in the map: 0
12-22 10:41:27.290 17674-17690/com.google.ar.core.examples.unity.helloar I/native: landmark_associator.cc:24 Total number of landmark candidates: 0
12-22 10:41:27.295 17674-17690/com.google.ar.core.examples.unity.helloar I/tango-ndk-hal: virtual tango_hal::TangoDeviceSensors::~TangoDeviceSensors()
12-22 10:41:27.295 17674-17690/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:613 Reset cleanly got to CLOSED state for camera 1
12-22 10:41:27.295 17674-17690/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:613 Reset cleanly got to CLOSED state for camera 0
12-22 10:41:27.296 17674-17690/com.google.ar.core.examples.unity.helloar I/native: session_c_api.cc:308 Deleted ArSession.
12-22 10:41:27.337 17674-17690/com.google.ar.core.examples.unity.helloar D/AudioTrack: stop() called with 183744 frames delivered
12-22 10:41:31.260 17674-17674/com.google.ar.core.examples.unity.helloar W/Unity: Timeout while trying to pause the Unity Engine.
12-22 10:41:31.270 17674-17674/com.google.ar.core.examples.unity.helloar I/Unity: windowFocusChanged: false
12-22 10:41:31.291 17674-17674/com.google.ar.core.examples.unity.helloar D/Unity: SetWindow 0 0x0
12-22 10:41:35.294 17674-17674/com.google.ar.core.examples.unity.helloar I/Unity: onDestroy
12-22 10:41:35.302 17674-17674/com.google.ar.core.examples.unity.helloar I/Process: Sending signal. PID: 17674 SIG: 9
iBicha commented 6 years ago

Okay here's a follow up, .NET 3.5, and trying the HelloAR example, still not working, and I'm confused now.

12-22 10:54:57.086 21900-21900/? I/zygote: Late-enabling -Xcheck:jni
12-22 10:54:57.306 21900-21900/com.google.ar.core.examples.unity.helloar I/Unity: onResume
12-22 10:54:57.315 21900-21918/com.google.ar.core.examples.unity.helloar D/OpenGLRenderer: HWUI GL Pipeline
12-22 10:54:57.345 21900-21918/com.google.ar.core.examples.unity.helloar I/Adreno: QUALCOMM build                   : 2941438, I916dfac403
                                                                                   Build Date                       : 10/03/17
                                                                                   OpenGL ES Shader Compiler Version: EV031.21.02.00
                                                                                   Local Branch                     : O18A
                                                                                   Remote Branch                    : 
                                                                                   Remote Branch                    : 
                                                                                   Reconstruct Branch               : 
12-22 10:54:57.351 21900-21918/com.google.ar.core.examples.unity.helloar I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
12-22 10:54:57.356 21900-21918/com.google.ar.core.examples.unity.helloar I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-22 10:54:57.356 21900-21918/com.google.ar.core.examples.unity.helloar I/OpenGLRenderer: Initialized EGL, version 1.4
12-22 10:54:57.356 21900-21918/com.google.ar.core.examples.unity.helloar D/OpenGLRenderer: Swap behavior 2
12-22 10:54:57.362 21900-21900/com.google.ar.core.examples.unity.helloar D/Unity: SetWindow 0 0xc8588008
12-22 10:54:57.362 21900-21900/com.google.ar.core.examples.unity.helloar D/Unity: SetWindow 0 0xc8588008
12-22 10:54:57.383 21900-21900/com.google.ar.core.examples.unity.helloar I/Unity: windowFocusChanged: true
12-22 10:54:57.407 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Loading ARCore V1+ path.
12-22 10:54:57.413 21900-21917/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_onUnityPlayerInitialize
12-22 10:54:57.413 21900-21917/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_getARCoreSupportStatus, expected_api_level=1, supported_api_level=1
12-22 10:54:57.413 21900-21917/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_onUnityPlayerResume
12-22 10:54:57.414 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [VFS] Mount /data/app/com.google.ar.core.examples.unity.helloar-w0XJtwmiiZPbEAI-QKKt7A==/base.apk
12-22 10:54:57.433 21900-21917/com.google.ar.core.examples.unity.helloar I/Unity: SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 3754mb
12-22 10:54:57.433 21900-21917/com.google.ar.core.examples.unity.helloar I/Unity: SystemInfo ARM big.LITTLE configuration: 2 big (mask: 12), 2 little (mask: 3)
12-22 10:54:57.434 21900-21917/com.google.ar.core.examples.unity.helloar I/Unity: ApplicationInfo com.google.ar.core.examples.unity.helloar version 1.0 build d493d1dd-848a-4fca-8c36-ff4160e1333a
12-22 10:54:57.434 21900-21917/com.google.ar.core.examples.unity.helloar I/Unity: Built from '2017.3/staging' branch, Version '2017.3.0f2 (d3a5469e8c44)', Build type 'Development', Scripting Backend 'mono'
12-22 10:54:57.434 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Attaching window :0xc8588008
12-22 10:54:57.437 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Unable to find library path for 'monobdwgc-2.0'.
12-22 10:54:57.441 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Mono path[0] = '/data/app/com.google.ar.core.examples.unity.helloar-w0XJtwmiiZPbEAI-QKKt7A==/base.apk/assets/bin/Data/Managed'
12-22 10:54:57.441 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Mono config path = 'assets/bin/Data/Managed/etc'
12-22 10:54:57.441 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: PlayerConnection initialized from /data/app/com.google.ar.core.examples.unity.helloar-w0XJtwmiiZPbEAI-QKKt7A==/base.apk/assets/bin/Data (debug = 0)
12-22 10:54:57.441 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: PlayerConnection initialized network socket : 0.0.0.0 55294
12-22 10:54:57.442 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: PlayerConnection initialized unix socket : Unity-com.google.ar.core.examples.unity.helloar
12-22 10:54:57.443 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Multi-casting "[IP] 192.168.230.51 [Port] 55294 [Flags] 2 [Guid] 2314732343 [EditorId] 3346795697 [Version] 1048832 [Id] AndroidPlayer(Google_Pixel@192.168.230.51) [Debug] 0" to [225.0.0.222:54997]...
12-22 10:54:57.443 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Started listening to [0.0.0.0:55294]
12-22 10:54:57.527 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: InitializeScriptEngine OK (e4b37ee0)
12-22 10:54:57.527 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: PlayerConnection already initialized - listening to [0.0.0.0:55294]
12-22 10:54:57.531 21900-21900/com.google.ar.core.examples.unity.helloar D/Unity: SetWindow 0 0xd9c7f808
12-22 10:54:57.544 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Unable to lookup library path for 'unitygar', native render plugin support disabled.
12-22 10:54:57.546 21900-21917/com.google.ar.core.examples.unity.helloar E/Unity: Unable to find unitygar
12-22 10:54:57.546 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: PlayerInitEngineNoGraphics OK
12-22 10:54:57.546 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: AndroidGraphics::Startup window =  0xd9c7f808
12-22 10:54:57.546 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Attaching window :0xd9c7f808
12-22 10:54:57.550 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
12-22 10:54:57.550 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Checking ES 3.1 support...
12-22 10:54:57.552 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] ES 3.1 support detected
12-22 10:54:57.553 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0
12-22 10:54:57.553 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
12-22 10:54:57.553 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0
12-22 10:54:57.554 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Request: ES 3.0 RGBA32 8888 0/0
12-22 10:54:57.558 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Found: ID[9] ES 3.0 RGBA32 8888 0/0 AFBT
12-22 10:54:57.562 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: ANativeWindow: (1080/1920) RequestedResolution: (0/0) RenderingResolution: (0/0) EGLSurface: (1080/1920)
12-22 10:54:57.568 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Renderer: Adreno (TM) 530
12-22 10:54:57.568 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Vendor:   Qualcomm
12-22 10:54:57.568 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Version:  OpenGL ES 3.2 V@258.0 (GIT@2941438, I916dfac403) (Date:10/03/17)
12-22 10:54:57.568 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: GLES:     3
12-22 10:54:57.568 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity:  GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_EXT_mul
12-22 10:54:57.568 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: tisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance
12-22 10:54:57.568 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity:  GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_framebuffer_foveated GL_QCOM_shader_framebuffer_fetch_noncoherent GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation
12-22 10:54:57.576 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: OPENGL LOG: Creating OpenGL ES 3.2 graphics device ; Context level  <OpenGL ES 3.1 AEP> ; Context handle -971804288
12-22 10:54:57.576 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Attaching window :0xd9c7f808
12-22 10:54:57.577 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Requested framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[on], samples[1]
12-22 10:54:57.577 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Created framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[24/8], samples[0] 
12-22 10:54:57.577 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: [EGL] Attaching window :0xd9c7f808
12-22 10:54:57.577 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Initialize engine version: 2017.3.0f2 (d3a5469e8c44)
12-22 10:54:57.597 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: AudioManager: Selecting OpenSL output...

                                                                                  [ 12-22 10:54:57.603 21900:21917 D/         ]
                                                                                  PlayerBase::PlayerBase()

                                                                                  [ 12-22 10:54:57.603 21900:21917 D/         ]
                                                                                  TrackPlayerBase::TrackPlayerBase()
12-22 10:54:57.604 21900-21917/com.google.ar.core.examples.unity.helloar I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
12-22 10:54:57.604 21900-21917/com.google.ar.core.examples.unity.helloar W/AudioTrack: notificationFrames=-10 clamped to the range -1 to -8
12-22 10:54:57.607 21900-21917/com.google.ar.core.examples.unity.helloar I/AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 1536 -> 1536
12-22 10:54:57.607 21900-21917/com.google.ar.core.examples.unity.helloar D/AudioTrack: Client defaulted notificationFrames to 192 for frameCount 1536
12-22 10:54:57.622 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Begin MonoManager ReloadAssembly
12-22 10:54:57.846 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: - Completed reload, in  0.224 seconds
12-22 10:54:58.053 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: PlayerInitEngineGraphics OK
12-22 10:54:58.055 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Found 27 native sensors
12-22 10:54:58.059 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 10:54:58.061 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 10:54:58.073 21900-21917/com.google.ar.core.examples.unity.helloar V/MediaRouter: Adding route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
12-22 10:54:58.081 21900-21917/com.google.ar.core.examples.unity.helloar V/MediaRouter: Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
12-22 10:54:58.353 21900-21959/com.google.ar.core.examples.unity.helloar D/Unity: Setting up 1 worker threads for Enlighten.
12-22 10:54:58.353 21900-21960/com.google.ar.core.examples.unity.helloar D/Unity:   Thread -> id: ffffffffc1d82970 -> priority: 1 
12-22 10:55:00.119 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: UnloadTime: 5.619000 ms
12-22 10:55:00.128 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: UUID: 1317d621e4700a50 => 2412cc392bec8ed8873a7a7b7576f5c5
12-22 10:55:00.161 21900-21931/com.google.ar.core.examples.unity.helloar D/NetworkSecurityConfig: No Network Security Config specified, using platform default
12-22 10:55:00.228 21900-21917/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_createSession
12-22 10:55:00.228 21900-21917/com.google.ar.core.examples.unity.helloar I/native: session_create.cc:62 Entering ArSession_create.
12-22 10:55:00.255 21900-21917/com.google.ar.core.examples.unity.helloar I/native: session_create.cc:28 DYNAMITE_LOAD_RESULT_OK
12-22 10:55:00.270 21900-21917/com.google.ar.core.examples.unity.helloar I/native: session_create_implementation.cc:329 Entering ArSession_createImplementation. ARCore SDK version: [0.91.0].
12-22 10:55:00.298 21900-21917/com.google.ar.core.examples.unity.helloar I/tango-ndk-hal: Found sailfish:8.1: Setting LPF accel: -3.470 ms. gyro: -3.470 ms
12-22 10:55:00.310 21900-21917/com.google.ar.core.examples.unity.helloar I/native: performance_manager.cc:22 Processor data: Num processors 4
                                                                                   Processor type: LittleBig
                                                                                   Num small cores 2
                                                                                   Max frequency 1593600
                                                                                   Min frequency 307200
                                                                                   Small cores 0 1
                                                                                   Num big cores 2
                                                                                   Max frequency 2150400
                                                                                   Min frequency 307200
                                                                                   Big cores 2 3
12-22 10:55:00.310 21900-21917/com.google.ar.core.examples.unity.helloar I/native: device_provider.cc:526 Identified device type: kSailfish
12-22 10:55:00.312 21900-21917/com.google.ar.core.examples.unity.helloar I/native: feature_matching_base.cc:38 Using gyro prediction for matching.
12-22 10:55:00.313 21900-21917/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-0 is 21.2132 pixels.
12-22 10:55:00.313 21900-21917/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-1 is 42.4264 pixels.
12-22 10:55:00.313 21900-21917/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-2 is 64.1467 pixels.
12-22 10:55:00.313 21900-21917/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-3 is 99.4286 pixels.
12-22 10:55:00.313 21900-21917/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-4 is 148.18 pixels.
12-22 10:55:00.313 21900-21917/com.google.ar.core.examples.unity.helloar I/native: gyro_feature_matching.cc:20 Running tracker at 10 Hz.
12-22 10:55:00.314 21900-21917/com.google.ar.core.examples.unity.helloar I/native: vio_helper.cc:46 Use calibrated IMU scale factors.
12-22 10:55:00.314 21900-21917/com.google.ar.core.examples.unity.helloar I/native: vio_helper.cc:58 Use calibrated IMU misalignment factors.
12-22 10:55:00.316 21900-21917/com.google.ar.core.examples.unity.helloar I/native: data_manager.cc:79 Mapping Config: 
                                                                                   ViwlsConfig: 
                                                                                   OnlineMappingConfig: 
                                                                                   enable_online_viwls: 1
                                                                                   load_online_map_in_vio: 1
                                                                                   enable_lite_com: 0
                                                                                   incrementally_build_problem: 0

                                                                                   MapFormulationConfig: 
                                                                                   vio_drift_tolerance_rotation: 0.05
                                                                                   vio_drift_tolerance_translation: 0.2
                                                                                   enable_keypoint_pruning: 1
                                                                                   enable_local_map_tracking: 1
                                                                                   add_every_nth_keyframe: 3

                                                                                   WLS_options: 
                                                                                   estimate_camera_intrinsics: 0
                                                                                   estimate_imu_camera_extrinsics: 0
                                                                                   estimate_imu_intrinsics: 0
                                                                                   calculate_keyframe_covariance: 0
                                                                                   calculate_landmark_covariance: 0
                                                                                   calculate_calibration_parameters_covariance: 0
                                                                                   use_huber_loss_visual_cost_term: 1
                                                                                   nonlinear_optimization_type: NLWLS
                                                                                   num_outlier_rejection_loops: 1
                                                                                   log_viwls_state_estimates_to_file: 0
                                                                                   minimize_photometric_error: 0
                                                                                   fail_on_missing_inv_depth_base_keyframe: 1
                                                                                   enable_lite_com: 0
                                                                                   ViwlsProblemType: kMarginalizedViwls
                                                                                   incrementally_build_problem: 0

                                                                                   MapSparsifierConfig: 
                                                                                   enable_debug_output: 0
                                                                                   marginalize_n_keyframes: 20
                                                                                   retain_n_keyframes: 5
                                                                                   enable_marginalization: 1

                                                                                   MapLandmarkConfig: 
                                                                                   min_landmark_observations: 5
                                                                                   LandmarkParam: k3DInverseDepth
                                                                                   min_depth_of_pointlandmark_from_image_plane: 0.05
                                                                                   max_depth_of_pointlandmark_from_image_plane: 15
                                                                                   landmark_covariance_use_approximation: 1
                                                                                   keypoint_pixel_sigma: 1

                                                                                   Debug_options: 
                                                                                   simulator_export_state_error_sigma_info: 0
                                                                                   log_visual_residuals: 0
                                                                                   evaluation_log_directory: 

                                                                                   DataManagerConfig: 
                                                                                   visualization_enabled: 0
                                                                                   execute_in_thread: 1
                                                                                   enable_online_calibration: 0
                                                                                   log_maps_for_visualization: 0
                                                                                   fisheye_buffer_size: 7
                                                                                   save_map_with_uuid_as_filename: 0
                                                                                   save_map_filename: 
                                                                                   evaluation_log_directory: 

                                                                                   MapLifeCycleConfig: 
                                                                                   save_map_for_structure_relocalization: 0
                                                                                   enable_multi_map_merging: 1
                                                                                   enable_time_base_map_split: 1

                                                                                   MultiMapManagerConfig: 
                                                                                   threshold_position_meters: 2
                                                                                   threshold_orientation_radians: 0.174
                                                                                   min_num_cross_adf_constraints: 9
                                                                                   perform_full_multimap_optimization: 0
                                                                                   merge_active_map_until_stable_coregistration: 1
                                                                                   min_number_of_keyframes_to_add_adf: 25
12-22 10:55:00.428 21900-21917/com.google.ar.core.examples.unity.helloar I/native: backend_base.h:55 LC-backend initialized.
12-22 10:55:00.443 21900-21917/com.google.ar.core.examples.unity.helloar I/native: loop_detector_graph.cc:52 Initializing localizer with: loop_detector_engine: inverted_multi_index_pq
                                                                                   low_power_localization: 0
                                                                                   feature_descriptor: lens_invariant_ocvfreak
                                                                                   override projection_matrix: 
                                                                                   override quantizer: 
                                                                                   override product quantizer: 
                                                                                   max_num_of_image_to_image_matches: 1
                                                                                   use_landmarks_for_relocalization: 0
                                                                                   use_augmentation_with_previous_matches: 1
                                                                                   verification_options:
                                                                                   skip_bad_landmarks: 1
                                                                                   overwrite_hamming_distance_threshold: -1
                                                                                   min_geom_inlier_ratio: 0.35
                                                                                   Ransac structure matching:
                                                                                   min_num_points: 8
                                                                                   max_iterations: 50
                                                                                   confidence: 0.99
                                                                                   sampson_error_threshold: 0.0008
                                                                                   use_upright_pose_estimation: 1

                                                                                   Ransac image to image matching:
                                                                                   min_num_points: 8
                                                                                   max_iterations: 50
                                                                                   confidence: 0.99
                                                                                   sampson_error_threshold: 0.0001
                                                                                   use_upright_pose_estimation: 1

                                                                                   compute_relative_pose_covariance: 0
                                                                                   max_num_points_covariance_calc: 60
                                                                                   min_match_image_time_difference: 10
                                                                                   gravity_direction_threshold_degrees: 5
                                                                                   matching_engine_options:
                                                                                   projected_descriptor_dimensions: 16
                                                                                   num_closest_words_for_nn_search: 30
                                                                                   knn_search_epsilon: 2
                                                                                   knn_max_radius: 100
                                                                                   num_neighbors: -1
                                                                                   vote_filter_type: covisibility-graph-filter
                                                                                   use pose prior for image to image matching: 0
12-22 10:55:00.460 21900-21917/com.google.ar.core.examples.unity.helloar I/native: backend_base.h:55 LC-backend initialized.
12-22 10:55:00.475 21900-21917/com.google.ar.core.examples.unity.helloar I/native: session_create_implementation.cc:366 ArSession_createImplementation returning OK.
12-22 10:55:00.661 21900-21900/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_resumeSession
12-22 10:55:00.661 21900-21900/com.google.ar.core.examples.unity.helloar I/Unity: testAndSet succeeded, state=3
12-22 10:55:00.661 21900-21900/com.google.ar.core.examples.unity.helloar I/native: session.cc:207 Entering Session::Resume.
12-22 10:55:00.661 21900-21900/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:1108 Initializing camera manager.
12-22 10:55:00.663 21900-21900/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:1123 Camera manager initialized successfully with 2 cameras.
12-22 10:55:00.663 21900-21900/com.google.ar.core.examples.unity.helloar E/NdkImageReader: AImageReader_getWindow
12-22 10:55:00.668 21900-21900/com.google.ar.core.examples.unity.helloar E/ACameraManager: openCamera: connect camera device failed: Status(-8): '7: connectHelper:1338: Higher-priority client using camera, ID "0" currently unavailable'
12-22 10:55:00.668 21900-21900/com.google.ar.core.examples.unity.helloar E/native: android_camera.cc:618 Reset: Resetting camera 0 from an ERROR state, best effort clean-up commencing
12-22 10:55:00.669 21900-21900/com.google.ar.core.examples.unity.helloar W/native: session.cc:237 Session::Resume returning generic::resource_exhausted: ACameraManager_openCamera.
12-22 10:55:00.669 21900-21900/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 generic::resource_exhausted: ACameraManager_openCamera
12-22 10:55:00.669 21900-21900/com.google.ar.core.examples.unity.helloar E/Unity: Could not resume the session because call to ArSession_resume failed with status code -2.
12-22 10:55:00.766 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 10:55:00.771 21900-21917/com.google.ar.core.examples.unity.helloar D/Unity: Choreographer available: Enabling VSYNC timing
12-22 10:55:00.799 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:00.808 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:00.834 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:00.948 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:00.953 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:00.953 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:00.959 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:00.976 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:00.976 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:00.976 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:00.976 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.014 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.015 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.015 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.015 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.044 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.044 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.044 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.044 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.078 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.078 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.078 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.078 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.112 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.112 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.112 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.112 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.144 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.145 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.145 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.145 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.178 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.179 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.179 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.179 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.212 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.212 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.212 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.212 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.245 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.245 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.245 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.245 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.280 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.280 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.280 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.280 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.313 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.313 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.313 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.313 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.346 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.346 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.346 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.346 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.379 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.380 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.380 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.380 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.414 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.415 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.415 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.415 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.447 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.448 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.448 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.448 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.481 21900-21917/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 ArStatusErrorSpace::AR_ERROR_SESSION_PAUSED: Could not update frame, session is paused.
12-22 10:55:01.482 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.482 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:674 ArFrame_getLightEstimate: frame was passed NULL.
12-22 10:55:01.482 21900-21917/com.google.ar.core.examples.unity.helloar E/native: session_c_api.cc:587 ArCamera_getTrackingState: camera was passed NULL.
12-22 10:55:01.494 21900-21900/com.google.ar.core.examples.unity.helloar I/Unity: onPause
12-22 10:55:01.494 21900-21900/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_onUnityPlayerPause
12-22 10:55:01.494 21900-21900/com.google.ar.core.examples.unity.helloar I/Unity: testAndSet succeeded, state=4
12-22 10:55:01.494 21900-21900/com.google.ar.core.examples.unity.helloar I/native: session.cc:248 Entering Session::Pause.
12-22 10:55:01.494 21900-21900/com.google.ar.core.examples.unity.helloar W/native: session.cc:267 Session::Pause returning generic::failed_precondition: expected_state=Started state=Initialized.
12-22 10:55:01.494 21900-21900/com.google.ar.core.examples.unity.helloar E/native: status.cc:134 generic::failed_precondition: expected_state=Started state=Initialized
12-22 10:55:01.519 21900-21917/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_destroySession
12-22 10:55:01.519 21900-21917/com.google.ar.core.examples.unity.helloar I/native: session_c_api.cc:306 Deleting ArSession...
12-22 10:55:01.520 21900-21917/com.google.ar.core.examples.unity.helloar I/native: feature_combo_node.cc:195 Cleared scoped_image buffers in feature_combo.
12-22 10:55:01.520 21900-21917/com.google.ar.core.examples.unity.helloar I/native: landmark_associator.cc:16 Total number of unique processed features: 0
12-22 10:55:01.520 21900-21917/com.google.ar.core.examples.unity.helloar I/native: landmark_associator.cc:20 Number of unique landmarks with at least two measurements: 0
12-22 10:55:01.520 21900-21917/com.google.ar.core.examples.unity.helloar I/native: landmark_associator.cc:22 Total number of landmarks in the map: 0
12-22 10:55:01.520 21900-21917/com.google.ar.core.examples.unity.helloar I/native: landmark_associator.cc:24 Total number of landmark candidates: 0
12-22 10:55:01.524 21900-21917/com.google.ar.core.examples.unity.helloar I/tango-ndk-hal: virtual tango_hal::TangoDeviceSensors::~TangoDeviceSensors()
12-22 10:55:01.524 21900-21917/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:613 Reset cleanly got to CLOSED state for camera 1
12-22 10:55:01.524 21900-21917/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:613 Reset cleanly got to CLOSED state for camera 0
12-22 10:55:01.525 21900-21917/com.google.ar.core.examples.unity.helloar I/native: session_c_api.cc:308 Deleted ArSession.

                                                                                   [ 12-22 10:55:01.596 21900:21917 D/         ]
                                                                                   PlayerBase::stop() from IPlayer
12-22 10:55:01.596 21900-21917/com.google.ar.core.examples.unity.helloar D/AudioTrack: stop() called with 191232 frames delivered
12-22 10:55:01.973 21900-21905/com.google.ar.core.examples.unity.helloar I/zygote: Do partial code cache collection, code=25KB, data=30KB
12-22 10:55:01.973 21900-21905/com.google.ar.core.examples.unity.helloar I/zygote: After code cache collection, code=25KB, data=30KB
12-22 10:55:01.973 21900-21905/com.google.ar.core.examples.unity.helloar I/zygote: Increasing code cache capacity to 128KB
12-22 10:55:05.495 21900-21900/com.google.ar.core.examples.unity.helloar W/Unity: Timeout while trying to pause the Unity Engine.
12-22 10:55:05.503 21900-21900/com.google.ar.core.examples.unity.helloar I/Unity: windowFocusChanged: false
12-22 10:55:05.511 21900-21900/com.google.ar.core.examples.unity.helloar D/Unity: SetWindow 0 0x0
12-22 10:55:09.514 21900-21900/com.google.ar.core.examples.unity.helloar I/Unity: onDestroy
12-22 10:55:09.534 21900-21900/com.google.ar.core.examples.unity.helloar I/Process: Sending signal. PID: 21900 SIG: 9
iBicha commented 6 years ago

Appologies for spamming the logs, but going through the logs, I saw

12-22 10:55:00.668 21900-21900/com.google.ar.core.examples.unity.helloar E/ACameraManager: openCamera: connect camera device failed: Status(-8): '7: connectHelper:1338: Higher-priority client using camera, ID "0" currently unavailable'

So I restarted the phone, and other apps and demos were working again. Then I ran few tests:

.NET 3.5 + ComputerVision Example => works .NET 4.6 + HelloAR Example => works .NET 4.6 + ComputerVision Example => doesn't works.

Once you run this combination, The camera simply stops working everywhere, even the stock camera app doesn't work anymore. Basically that combination fails, and never release the camera. I was able to reproduce this 2 our of 3 times. But the .NET 4.6 + ComputerVision Example combination never worked for me.

Again, here's the full logcat:

12-22 12:07:10.696 11494-11494/? I/zygote: Late-enabling -Xcheck:jni
12-22 12:07:10.748 11494-11501/? E/zygote: Failed sending reply to debugger: Broken pipe
12-22 12:07:10.748 11494-11501/? I/zygote: Debugger is no longer active
12-22 12:07:10.887 11494-11494/? I/Unity: onResume
12-22 12:07:10.896 11494-11511/? D/OpenGLRenderer: HWUI GL Pipeline
12-22 12:07:10.934 11494-11511/? I/Adreno: QUALCOMM build                   : 2941438, I916dfac403
                                           Build Date                       : 10/03/17
                                           OpenGL ES Shader Compiler Version: EV031.21.02.00
                                           Local Branch                     : O18A
                                           Remote Branch                    : 
                                           Remote Branch                    : 
                                           Reconstruct Branch               : 
12-22 12:07:10.940 11494-11511/? I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
12-22 12:07:10.944 11494-11511/? I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-22 12:07:10.945 11494-11511/? I/OpenGLRenderer: Initialized EGL, version 1.4
12-22 12:07:10.945 11494-11511/? D/OpenGLRenderer: Swap behavior 2
12-22 12:07:10.952 11494-11494/? D/Unity: SetWindow 0 0xd34a2008
12-22 12:07:10.952 11494-11494/? D/Unity: SetWindow 0 0xd34a2008
12-22 12:07:10.983 11494-11494/? I/Unity: windowFocusChanged: true
12-22 12:07:11.013 11494-11510/? D/Unity: Loading ARCore V1+ path.
12-22 12:07:11.019 11494-11510/? I/Unity: ArCoreUnity_onUnityPlayerInitialize
12-22 12:07:11.019 11494-11510/? I/Unity: ArCoreUnity_getARCoreSupportStatus, expected_api_level=1, supported_api_level=1
12-22 12:07:11.019 11494-11510/? I/Unity: ArCoreUnity_onUnityPlayerResume
12-22 12:07:11.020 11494-11510/? D/Unity: [VFS] Mount /data/app/com.google.ar.core.examples.unity.helloar-l3pAfqs0EyC6CzQj_DIn6g==/base.apk
12-22 12:07:11.043 11494-11510/? I/Unity: SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 3754mb
12-22 12:07:11.043 11494-11510/? I/Unity: SystemInfo ARM big.LITTLE configuration: 2 big (mask: 12), 2 little (mask: 3)
12-22 12:07:11.044 11494-11510/? I/Unity: ApplicationInfo com.google.ar.core.examples.unity.helloar version 1.0 build 31adc52a-eae0-4fdc-aba7-a30488070e75
12-22 12:07:11.044 11494-11510/? I/Unity: Built from '2017.3/staging' branch, Version '2017.3.0f2 (d3a5469e8c44)', Build type 'Development', Scripting Backend 'mono'
12-22 12:07:11.044 11494-11510/? D/Unity: [EGL] Attaching window :0xd34a2008
12-22 12:07:11.060 11494-11510/? D/Unity: Mono path[0] = '/data/app/com.google.ar.core.examples.unity.helloar-l3pAfqs0EyC6CzQj_DIn6g==/base.apk/assets/bin/Data/Managed'
12-22 12:07:11.060 11494-11510/? D/Unity: Mono config path = 'assets/bin/Data/Managed/etc'
12-22 12:07:11.061 11494-11510/? D/Unity: PlayerConnection initialized from /data/app/com.google.ar.core.examples.unity.helloar-l3pAfqs0EyC6CzQj_DIn6g==/base.apk/assets/bin/Data (debug = 0)
12-22 12:07:11.087 11494-11494/? D/Unity: SetWindow 0 0xe517f808
12-22 12:07:11.130 11494-11510/? D/Unity: PlayerConnection initialized network socket : 0.0.0.0 55342
12-22 12:07:11.130 11494-11510/? D/Unity: PlayerConnection initialized unix socket : Unity-com.google.ar.core.examples.unity.helloar
12-22 12:07:11.131 11494-11510/? D/Unity: Multi-casting "[IP] 192.168.230.51 [Port] 55342 [Flags] 2 [Guid] 2207709203 [EditorId] 1300712353 [Version] 1048832 [Id] AndroidPlayer(Google_Pixel@192.168.230.51) [Debug] 0" to [225.0.0.222:54997]...
12-22 12:07:11.131 11494-11510/? D/Unity: Started listening to [0.0.0.0:55342]
12-22 12:07:11.244 11494-11510/? D/Unity: InitializeScriptEngine OK (e9c89e40)
12-22 12:07:11.245 11494-11510/? D/Unity: PlayerConnection already initialized - listening to [0.0.0.0:55342]
12-22 12:07:11.261 11494-11510/? D/Unity: Unable to lookup library path for 'unitygar', native render plugin support disabled.
12-22 12:07:11.263 11494-11510/? E/Unity: Unable to find unitygar
12-22 12:07:11.263 11494-11510/? D/Unity: PlayerInitEngineNoGraphics OK
12-22 12:07:11.263 11494-11510/? D/Unity: AndroidGraphics::Startup window =  0xe517f808
12-22 12:07:11.263 11494-11510/? D/Unity: [EGL] Attaching window :0xe517f808
12-22 12:07:11.266 11494-11510/? D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
12-22 12:07:11.267 11494-11510/? D/Unity: [EGL] Checking ES 3.1 support...
12-22 12:07:11.269 11494-11510/? D/Unity: [EGL] ES 3.1 support detected
12-22 12:07:11.270 11494-11510/? D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0
12-22 12:07:11.270 11494-11510/? D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
12-22 12:07:11.270 11494-11510/? D/Unity: [EGL] Found: ID[1] ES 3.1+AEP RGB16 565 0/0
12-22 12:07:11.270 11494-11510/? D/Unity: [EGL] Request: ES 3.0 RGBA32 8888 0/0
12-22 12:07:11.274 11494-11510/? D/Unity: [EGL] Found: ID[9] ES 3.0 RGBA32 8888 0/0 AFBT
12-22 12:07:11.279 11494-11510/? D/Unity: ANativeWindow: (1080/1920) RequestedResolution: (0/0) RenderingResolution: (0/0) EGLSurface: (1080/1920)
12-22 12:07:11.284 11494-11510/? D/Unity: Renderer: Adreno (TM) 530
12-22 12:07:11.284 11494-11510/? D/Unity: Vendor:   Qualcomm
12-22 12:07:11.284 11494-11510/? D/Unity: Version:  OpenGL ES 3.2 V@258.0 (GIT@2941438, I916dfac403) (Date:10/03/17)
12-22 12:07:11.284 11494-11510/? D/Unity: GLES:     3
12-22 12:07:11.284 11494-11510/? D/Unity:  GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_EXT_mul
12-22 12:07:11.284 11494-11510/? D/Unity: tisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance
12-22 12:07:11.284 11494-11510/? D/Unity:  GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_framebuffer_foveated GL_QCOM_shader_framebuffer_fetch_noncoherent GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation
12-22 12:07:11.291 11494-11510/? D/Unity: OPENGL LOG: Creating OpenGL ES 3.2 graphics device ; Context level  <OpenGL ES 3.1 AEP> ; Context handle -785689792
12-22 12:07:11.292 11494-11510/? D/Unity: [EGL] Attaching window :0xe517f808
12-22 12:07:11.292 11494-11510/? D/Unity: Requested framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[on], samples[1]
12-22 12:07:11.292 11494-11510/? D/Unity: Created framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[24/8], samples[0] 
12-22 12:07:11.292 11494-11510/? D/Unity: [EGL] Attaching window :0xe517f808
12-22 12:07:11.292 11494-11510/? D/Unity: Initialize engine version: 2017.3.0f2 (d3a5469e8c44)
12-22 12:07:11.311 11494-11510/? D/Unity: AudioManager: Selecting OpenSL output...

                                          [ 12-22 12:07:11.312 11494:11510 D/         ]
                                          PlayerBase::PlayerBase()

                                          [ 12-22 12:07:11.313 11494:11510 D/         ]
                                          TrackPlayerBase::TrackPlayerBase()
12-22 12:07:11.313 11494-11510/? I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
12-22 12:07:11.313 11494-11510/? W/AudioTrack: notificationFrames=-10 clamped to the range -1 to -8
12-22 12:07:11.315 11494-11510/? I/AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 1536 -> 1536
12-22 12:07:11.315 11494-11510/? D/AudioTrack: Client defaulted notificationFrames to 192 for frameCount 1536
12-22 12:07:11.326 11494-11510/? D/Unity: Begin MonoManager ReloadAssembly
12-22 12:07:11.630 11494-11510/? D/Unity: - Completed reload, in  0.304 seconds
12-22 12:07:11.903 11494-11510/com.google.ar.core.examples.unity.helloar D/Unity: PlayerInitEngineGraphics OK
12-22 12:07:11.907 11494-11510/com.google.ar.core.examples.unity.helloar D/Unity: Found 27 native sensors
12-22 12:07:11.912 11494-11510/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 12:07:11.914 11494-11510/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 12:07:11.929 11494-11510/com.google.ar.core.examples.unity.helloar V/MediaRouter: Adding route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
12-22 12:07:11.936 11494-11510/com.google.ar.core.examples.unity.helloar V/MediaRouter: Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
12-22 12:07:11.991 11494-11552/com.google.ar.core.examples.unity.helloar D/Unity: Setting up 1 worker threads for Enlighten.
12-22 12:07:11.992 11494-11553/com.google.ar.core.examples.unity.helloar D/Unity:   Thread -> id: ffffffffcd702970 -> priority: 1 
12-22 12:07:13.980 11494-11510/com.google.ar.core.examples.unity.helloar D/Unity: UnloadTime: 6.031000 ms
12-22 12:07:13.988 11494-11510/com.google.ar.core.examples.unity.helloar D/Unity: UUID: 1317d621e4700a50 => 2412cc392bec8ed8873a7a7b7576f5c5
12-22 12:07:14.008 11494-11524/com.google.ar.core.examples.unity.helloar D/NetworkSecurityConfig: No Network Security Config specified, using platform default
12-22 12:07:14.085 11494-11510/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_createSession
12-22 12:07:14.085 11494-11510/com.google.ar.core.examples.unity.helloar I/native: session_create.cc:62 Entering ArSession_create.
12-22 12:07:14.109 11494-11510/com.google.ar.core.examples.unity.helloar I/native: session_create.cc:28 DYNAMITE_LOAD_RESULT_OK
12-22 12:07:14.124 11494-11510/com.google.ar.core.examples.unity.helloar I/native: session_create_implementation.cc:329 Entering ArSession_createImplementation. ARCore SDK version: [0.91.0].
12-22 12:07:14.140 11494-11510/com.google.ar.core.examples.unity.helloar I/tango-ndk-hal: Found sailfish:8.1: Setting LPF accel: -3.470 ms. gyro: -3.470 ms
12-22 12:07:14.151 11494-11510/com.google.ar.core.examples.unity.helloar I/native: performance_manager.cc:22 Processor data: Num processors 4
                                                                                   Processor type: LittleBig
                                                                                   Num small cores 2
                                                                                   Max frequency 1593600
                                                                                   Min frequency 307200
                                                                                   Small cores 0 1
                                                                                   Num big cores 2
                                                                                   Max frequency 2150400
                                                                                   Min frequency 307200
                                                                                   Big cores 2 3
12-22 12:07:14.151 11494-11510/com.google.ar.core.examples.unity.helloar I/native: device_provider.cc:526 Identified device type: kSailfish
12-22 12:07:14.155 11494-11510/com.google.ar.core.examples.unity.helloar I/native: feature_matching_base.cc:38 Using gyro prediction for matching.
12-22 12:07:14.155 11494-11510/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-0 is 21.2132 pixels.
12-22 12:07:14.155 11494-11510/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-1 is 42.4264 pixels.
12-22 12:07:14.155 11494-11510/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-2 is 64.1467 pixels.
12-22 12:07:14.155 11494-11510/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-3 is 99.4286 pixels.
12-22 12:07:14.156 11494-11510/com.google.ar.core.examples.unity.helloar I/native: feature_matcher_bin_manager.cc:157 Neighborhood radius for feature matcher bin-grid-4 is 148.18 pixels.
12-22 12:07:14.156 11494-11510/com.google.ar.core.examples.unity.helloar I/native: gyro_feature_matching.cc:20 Running tracker at 10 Hz.
12-22 12:07:14.156 11494-11510/com.google.ar.core.examples.unity.helloar I/native: vio_helper.cc:46 Use calibrated IMU scale factors.
12-22 12:07:14.156 11494-11510/com.google.ar.core.examples.unity.helloar I/native: vio_helper.cc:58 Use calibrated IMU misalignment factors.
12-22 12:07:14.157 11494-11510/com.google.ar.core.examples.unity.helloar I/native: data_manager.cc:79 Mapping Config: 
                                                                                   ViwlsConfig: 
                                                                                   OnlineMappingConfig: 
                                                                                   enable_online_viwls: 1
                                                                                   load_online_map_in_vio: 1
                                                                                   enable_lite_com: 0
                                                                                   incrementally_build_problem: 0

                                                                                   MapFormulationConfig: 
                                                                                   vio_drift_tolerance_rotation: 0.05
                                                                                   vio_drift_tolerance_translation: 0.2
                                                                                   enable_keypoint_pruning: 1
                                                                                   enable_local_map_tracking: 1
                                                                                   add_every_nth_keyframe: 3

                                                                                   WLS_options: 
                                                                                   estimate_camera_intrinsics: 0
                                                                                   estimate_imu_camera_extrinsics: 0
                                                                                   estimate_imu_intrinsics: 0
                                                                                   calculate_keyframe_covariance: 0
                                                                                   calculate_landmark_covariance: 0
                                                                                   calculate_calibration_parameters_covariance: 0
                                                                                   use_huber_loss_visual_cost_term: 1
                                                                                   nonlinear_optimization_type: NLWLS
                                                                                   num_outlier_rejection_loops: 1
                                                                                   log_viwls_state_estimates_to_file: 0
                                                                                   minimize_photometric_error: 0
                                                                                   fail_on_missing_inv_depth_base_keyframe: 1
                                                                                   enable_lite_com: 0
                                                                                   ViwlsProblemType: kMarginalizedViwls
                                                                                   incrementally_build_problem: 0

                                                                                   MapSparsifierConfig: 
                                                                                   enable_debug_output: 0
                                                                                   marginalize_n_keyframes: 20
                                                                                   retain_n_keyframes: 5
                                                                                   enable_marginalization: 1

                                                                                   MapLandmarkConfig: 
                                                                                   min_landmark_observations: 5
                                                                                   LandmarkParam: k3DInverseDepth
                                                                                   min_depth_of_pointlandmark_from_image_plane: 0.05
                                                                                   max_depth_of_pointlandmark_from_image_plane: 15
                                                                                   landmark_covariance_use_approximation: 1
                                                                                   keypoint_pixel_sigma: 1

                                                                                   Debug_options: 
                                                                                   simulator_export_state_error_sigma_info: 0
                                                                                   log_visual_residuals: 0
                                                                                   evaluation_log_directory: 

                                                                                   DataManagerConfig: 
                                                                                   visualization_enabled: 0
                                                                                   execute_in_thread: 1
                                                                                   enable_online_calibration: 0
                                                                                   log_maps_for_visualization: 0
                                                                                   fisheye_buffer_size: 7
                                                                                   save_map_with_uuid_as_filename: 0
                                                                                   save_map_filename: 
                                                                                   evaluation_log_directory: 

                                                                                   MapLifeCycleConfig: 
                                                                                   save_map_for_structure_relocalization: 0
                                                                                   enable_multi_map_merging: 1
                                                                                   enable_time_base_map_split: 1

                                                                                   MultiMapManagerConfig: 
                                                                                   threshold_position_meters: 2
                                                                                   threshold_orientation_radians: 0.174
                                                                                   min_num_cross_adf_constraints: 9
                                                                                   perform_full_multimap_optimization: 0
                                                                                   merge_active_map_until_stable_coregistration: 1
                                                                                   min_number_of_keyframes_to_add_adf: 25
12-22 12:07:14.271 11494-11510/com.google.ar.core.examples.unity.helloar I/native: backend_base.h:55 LC-backend initialized.
12-22 12:07:14.286 11494-11510/com.google.ar.core.examples.unity.helloar I/native: loop_detector_graph.cc:52 Initializing localizer with: loop_detector_engine: inverted_multi_index_pq
                                                                                   low_power_localization: 0
                                                                                   feature_descriptor: lens_invariant_ocvfreak
                                                                                   override projection_matrix: 
                                                                                   override quantizer: 
                                                                                   override product quantizer: 
                                                                                   max_num_of_image_to_image_matches: 1
                                                                                   use_landmarks_for_relocalization: 0
                                                                                   use_augmentation_with_previous_matches: 1
                                                                                   verification_options:
                                                                                   skip_bad_landmarks: 1
                                                                                   overwrite_hamming_distance_threshold: -1
                                                                                   min_geom_inlier_ratio: 0.35
                                                                                   Ransac structure matching:
                                                                                   min_num_points: 8
                                                                                   max_iterations: 50
                                                                                   confidence: 0.99
                                                                                   sampson_error_threshold: 0.0008
                                                                                   use_upright_pose_estimation: 1

                                                                                   Ransac image to image matching:
                                                                                   min_num_points: 8
                                                                                   max_iterations: 50
                                                                                   confidence: 0.99
                                                                                   sampson_error_threshold: 0.0001
                                                                                   use_upright_pose_estimation: 1

                                                                                   compute_relative_pose_covariance: 0
                                                                                   max_num_points_covariance_calc: 60
                                                                                   min_match_image_time_difference: 10
                                                                                   gravity_direction_threshold_degrees: 5
                                                                                   matching_engine_options:
                                                                                   projected_descriptor_dimensions: 16
                                                                                   num_closest_words_for_nn_search: 30
                                                                                   knn_search_epsilon: 2
                                                                                   knn_max_radius: 100
                                                                                   num_neighbors: -1
                                                                                   vote_filter_type: covisibility-graph-filter
                                                                                   use pose prior for image to image matching: 0
12-22 12:07:14.303 11494-11510/com.google.ar.core.examples.unity.helloar I/native: backend_base.h:55 LC-backend initialized.
12-22 12:07:14.318 11494-11510/com.google.ar.core.examples.unity.helloar I/native: session_create_implementation.cc:366 ArSession_createImplementation returning OK.
12-22 12:07:14.562 11494-11510/com.google.ar.core.examples.unity.helloar D/Unity: Sensor :        Accelerometer ( 1) ; 0.004788 / 0.00s ; BMI160 accelerometer / Bosch 
12-22 12:07:14.570 11494-11510/com.google.ar.core.examples.unity.helloar D/Unity: Choreographer available: Enabling VSYNC timing
12-22 12:07:14.599 11494-11494/com.google.ar.core.examples.unity.helloar I/Unity: ArCoreUnity_resumeSession
12-22 12:07:14.599 11494-11494/com.google.ar.core.examples.unity.helloar I/Unity: testAndSet succeeded, state=3
12-22 12:07:14.599 11494-11494/com.google.ar.core.examples.unity.helloar I/native: session.cc:207 Entering Session::Resume.
12-22 12:07:14.599 11494-11494/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:1108 Initializing camera manager.
12-22 12:07:14.606 11494-11494/com.google.ar.core.examples.unity.helloar I/native: android_camera.cc:1123 Camera manager initialized successfully with 2 cameras.
12-22 12:07:14.607 11494-11494/com.google.ar.core.examples.unity.helloar E/NdkImageReader: AImageReader_getWindow
chaosemer commented 6 years ago

Thanks for the very detailed investigation. I'm adding this to our internal tracker.

harrywangwork commented 6 years ago

Hi iBiCha, We were able to reproduce the crash with the combination of Android "O" and .Net 4.6. It is interesting that it does not crash on Android "N". After searching in Unity community forums, we found many crash bug reports related to .Net 4.6. For example:

  1. https://issuetracker.unity3d.com/issues/android-net-4-dot-6-builds-with-any-stripping-level-crash-on-startup
  2. https://forum.unity.com/threads/crash-on-android-while-using-net-4-6.484858/

We will work with Unity on this issue.

iBicha commented 6 years ago

Yup, forgot to mention I'm running a pixel with Android O beta

pablisho commented 6 years ago

Hi, I cannot repro this using ARCoreSDK 1.2, Unity 2017.3, NET 4.6 on a Samsung S8 with Android 8. Can you still repro in your Pixel? Thanks!

iBicha commented 6 years ago

I do not believe this is an issue anymore, for some reason I cannot reproduce it. Will close, feel free to reopen if needed