juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.16k stars 525 forks source link

BufferQueue has no connected producer and app keeps on crashing after build #791

Open Kavishka-R opened 1 year ago

Kavishka-R commented 1 year ago

Describe the bug I tried using unity widget for a more complex project with a lot of assets and it kept on crashing after building the app.It gives out this error in the console before crashing.

√  Built build\app\outputs\flutter-apk\app-debug.apk.
Debug service listening on ws://127.0.0.1:49643/7-WBc0zEyuE=/ws
Syncing files to device Pixel 6...
I/.translator_app(20987): Compiler allocated 4579KB to compile void android.view.ViewRootImpl.performTraversals()
I/flutter (20987): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (20987): │ #0   main.providersArray (package:translator_app/main.dart:10:12)
I/flutter (20987): │ #1   main (package:translator_app/main.dart:26:10)
I/flutter (20987): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (20987): │ 🐛 Initiating providers array
I/flutter (20987): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
E/SurfaceSyncer(20987): Failed to find sync for id=0
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:3) Faking releaseBufferCallback from transactionCompleteCallback
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
I/IL2CPP  (20987): JNI_OnLoad
I/Unity   (20987): windowFocusChanged: true
I/Unity   (20987): onResume
D/FlutterUnityController(20987): Attaching unity to view
I/Unity   (20987): windowFocusChanged: true
I/Unity   (20987): onResume
I/Unity   (20987): onResume
I/Unity   (20987): onPause
I/Unity   (20987): onResume
D/FlutterUnityController(20987): onCreate
D/FlutterUnityController(20987): onResume
I/PlatformViewsController(20987): Hosting view in a virtual display for platform view: 0
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:3) Faking releaseBufferCallback from transactionCompleteCallback
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
E/SurfaceSyncer(20987): Failed to find sync for id=0
E/SurfaceSyncer(20987): Failed to find sync for id=1
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:3) Faking releaseBufferCallback from transactionCompleteCallback
I/CustomUnityPlayer(20987): onAttachedToWindow
I/Unity   (20987): onResume
I/Unity   (20987): onPause
I/Unity   (20987): onResume
D/Unity   (20987): SetWindow 0 0xb40000723f0ff280
D/Unity   (20987): SetWindow 0 0xb40000723f0ff280
E/SurfaceSyncer(20987): Failed to find sync for id=0
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
I/Unity   (20987): MemoryManager: Using 'Dynamic Heap' Allocator.
D/Unity   (20987): [UnityMemory] Configuration Parameters - Can be set up in boot.config
D/Unity   (20987):     "memorysetup-bucket-allocator-granularity=16"
D/Unity   (20987):     "memorysetup-bucket-allocator-bucket-count=8"
D/Unity   (20987):     "memorysetup-bucket-allocator-block-size=4194304"
D/Unity   (20987):     "memorysetup-bucket-allocator-block-count=1"
D/Unity   (20987):     "memorysetup-main-allocator-block-size=16777216"
D/Unity   (20987):     "memorysetup-thread-allocator-block-size=16777216"
D/Unity   (20987):     "memorysetup-gfx-main-allocator-block-size=16777216"
D/Unity   (20987):     "memorysetup-gfx-thread-allocator-block-size=16777216"
D/Unity   (20987):     "memorysetup-cache-allocator-block-size=4194304"
D/Unity   (20987):     "memorysetup-typetree-allocator-block-size=2097152"
D/Unity   (20987):     "memorysetup-profiler-bucket-allocator-granularity=16"
D/Unity   (20987):     "memorysetup-profiler-bucket-allocator-bucket-count=8"
D/Unity   (20987):     "memorysetup-profiler-bucket-allocator-block-size=4194304"
D/Unity   (20987):     "memorysetup-profiler-bucket-allocator-block-count=1"
D/Unity   (20987):     "memorysetup-profiler-allocator-block-size=16777216"
D/Unity   (20987):     "memorysetup-profiler-editor-allocator-block-size=1048576"
D/Unity   (20987):     "memorysetup-temp-allocator-size-main=4194304"
D/Unity   (20987):     "memorysetup-job-temp-allocator-block-size=2097152"
D/Unity   (20987):     "memorysetup-job-temp-allocator-block-size-background=1048576"
D/Unity   (20987):     "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
D/Unity   (20987):     "memorysetup-temp-allocator-size-background-worker=32768"
D/Unity   (20987):     "memorysetup-temp-allocator-size-job-worker=262144"
D/Unity   (20987):     "memorysetup-temp-allocator-size-preload-manager=262144"
D/Unity   (20987):     "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
D/Unity   (20987):     "memorysetup-temp-allocator-size-audio-worker=65536"
D/Unity   (20987):     "memorysetup-temp-allocator-size-gfx=262144"
D/Unity   (20987):     "memorysetup-temp-allocator-size-cloud-worker=32768"
D/Unity   (20987): Enabling Unity systrace
W/.translator_app(20987): Accessing hidden method Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V (unsupported, reflection, allowed)
D/Unity   (20987): [VFS] Mount /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/base.apk
E/BLASTBufferQueue(20987): [VRI[MainActivity]#0](f:0,a:3) Faking releaseBufferCallback from transactionCompleteCallback
D/Unity   (20987): PersistentUnitySurface.preserveContent: android.view.SurfaceView{e331863 VFE...... ........ 0,0-1080,2009 #0}
D/Unity   (20987): PersistentUnitySurface.PlaceholderView.Copy: android.view.SurfaceView{e331863 VFE...... ........ 0,0-1080,2009 #0}
W/OpenGLRenderer(20987): Surface doesn't have any previously queued frames, nothing to readback from
I/Unity   (20987): SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 7583mb
I/Unity   (20987): SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf)
I/Unity   (20987): ApplicationInfo com.example.translator_app version 1.0.0
I/Unity   (20987): Built from '2021.3/staging' branch, Version '2021.3.10f1 (1c7d0df0160b)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a', Stripping 'Enabled'
D/Unity   (20987): Same Unity build, not extracting il2cpp resources.
E/BLASTBufferQueue(20987): [VRI[MainActivity]#0](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
E/BLASTBufferQueue(20987): [VRI[]#2](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
D/Unity   (20987): Found 1 interfaces on host :
D/Unity   (20987):  0) 192.168.8.164
D/Unity   (20987): 
D/Unity   (20987): Multi-casting "[IP] 192.168.8.164 [Port] 55213 [Flags] 2 [Guid] 902839582 [EditorId] 1801828571 [Version] 1048832 [Id] AndroidPlayer(11,Google_Pixel_6@192.168.8.164) [Debug] 1 [PackageName] AndroidPlayer [ProjectName] FYP-Avatar" to [225.0.0.222:54997]...
D/Unity   (20987): Starting managed debugger on port 56582
[log] *********************************************
[log] ** flutter unity controller setup complete **
[log] *********************************************
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:4) Faking releaseBufferCallback from transactionCompleteCallback
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:3) Faking releaseBufferCallback from transactionCompleteCallback
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
D/Unity   (20987): [EGL] Attaching window :0xb40000723f0ff280
D/Unity   (20987): InitializeScriptEngine OK (0x708a5c3fc0)
D/Unity   (20987): PlayerInitEngineNoGraphics OK
I/Unity   (20987): Company Name: DefaultCompany
I/Unity   (20987): Product Name: FYP-Avatar
D/Unity   (20987): AndroidGraphics::Startup window =  0xb40000723f0ff280
D/Unity   (20987): [EGL] Attaching window :0xb40000723f0ff280
D/Unity   (20987): [Vulkan init] extensions: count=12
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_surface_protected_capabilities, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_android_surface, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_swapchain_colorspace, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_GOOGLE_surfaceless_query, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=1
D/Unity   (20987): [Vulkan init] SelectPhysicalDevice requestedDeviceIndex=-1 xrDevice=0x0
D/Unity   (20987): [Vulkan init] Physical Device 0xb40000719f0d3800 [0]: "Mali-G78" deviceType=1 vendorID=13b5 deviceID=92020010
D/Unity   (20987): Vulkan detection: 2
D/Unity   (20987): GfxDevice: creating device client; threaded=1; jobified=0
D/Unity   (20987): [Vulkan init] extensions: count=12
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_surface_protected_capabilities, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_android_surface, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_swapchain_colorspace, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_GOOGLE_surfaceless_query, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=1
D/Unity   (20987): [Vulkan init] SelectPhysicalDevice requestedDeviceIndex=-1 xrDevice=0x0
D/Unity   (20987): [Vulkan init] Physical Device 0xb40000719f0d3800 [0]: "Mali-G78" deviceType=1 vendorID=13b5 deviceID=92020010
D/Unity   (20987): [Vulkan init] Selected physical device 0xb40000719f0d3800
D/Unity   (20987): [Vulkan init] Graphics queue count=1
D/Unity   (20987): [Vulkan init] extensions: count=83
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_incremental_present, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_hdr_metadata, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_shared_presentable_image, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_GOOGLE_display_timing, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_16bit_storage, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_8bit_storage, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_bind_memory2, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_buffer_device_address, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_create_renderpass2, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_copy_commands2, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_dedicated_allocation, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_depth_stencil_resolve, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_descriptor_update_template, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_device_group, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_driver_properties, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_fence, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_fence_fd, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_memory, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_memory_fd, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_semaphore, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_external_semaphore_fd, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_get_memory_requirements2, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_image_format_list, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_imageless_framebuffer, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_maintenance1, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_maintenance2, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_maintenance3, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_multiview, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_relaxed_block_layout, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_sampler_mirror_clamp_to_edge, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_sampler_ycbcr_conversion, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_separate_depth_stencil_layouts, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_shader_draw_parameters, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_shader_float16_int8, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_shader_float_controls, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_shader_integer_dot_product, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_shader_non_semantic_info, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_shader_subgroup_extended_types, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_spirv_1_4, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_storage_buffer_storage_class, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_timeline_semaphore, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_uniform_buffer_standard_layout, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_variable_pointers, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_vulkan_memory_model, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_zero_initialize_workgroup_memory, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_astc_decode_mode, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_calibrated_timestamps, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_descriptor_indexing, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_fragment_density_map, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_fragment_density_map2, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_global_priority, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_global_priority_query, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_host_query_reset, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_image_robustness, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_index_type_uint8, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_inline_uniform_block, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_line_rasterization, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_load_store_op_none, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_pipeline_creation_cache_control, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_pipeline_creation_feedback, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_primitive_topology_list_restart, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_provoking_vertex, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_queue_family_foreign, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_device_memory_report, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_ARM_rasterization_order_attachment_access, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_scalar_block_layout, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_separate_stencil_usage, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_subgroup_size_control, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_texture_compression_astc_hdr, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_shader_subgroup_ballot, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_shader_subgroup_vote, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_texel_buffer_alignment, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_transform_feedback, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_external_memory_dma_buf, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_image_drm_format_modifier, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_custom_border_color, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_ANDROID_external_memory_android_hardware_buffer, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_swapchain, enabled=1
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_shader_terminate_invocation, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_shader_demote_to_helper_invocation, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_rgba10x6_formats, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_EXT_4444_formats, enabled=0
D/Unity   (20987): [Vulkan init] extensions: name=VK_KHR_synchronization2, enabled=0
D/Unity   (20987): Vulkan API version 1.1.0 (1.1.201 supported by driver, 1.1.0 requested)
D/Unity   (20987): Vulkan vendor=[ARM] id=[13b5]
D/Unity   (20987): Vulkan renderer=[Mali-G78] id=[92020010]
D/Unity   (20987): Vulkan device type 1
D/Unity   (20987): Vulkan driverversion=[0x09000000] uint=[150994944]
D/Unity   (20987): VK use pretransform: 1
D/Unity   (20987): Vulkan PSO: cache data not found [path=/storage/emulated/0/Android/data/com.example.translator_app/cache/vulkan_pso_cache.bin]
D/Unity   (20987): [EGL] Attaching window :0x0
D/Unity   (20987): AndroidDisplayManagerVulkan::AttachWindow(0xb40000723f0ff280, 0)
D/Unity   (20987): InitializeOrResetSwapChain 1080x2009 hdr=0 samples=0
V/SwappyVk(20987): SwappyVk initialized for VkDevice 0xb40000729f0cb990 using VK_GOOGLE_display_timing on Android
I/SwappyVk(20987): Returning refresh duration of 16666667 nsec (approx 59.999999 Hz)
V/MediaRouter(20987): 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 }
I/MediaRouter(20987): Skip setBluetoothA2dpOn(): types=8388615, isPlaybackActive()=false, BT route=null
D/Unity   (20987): AndroidDisplayManagerVulkan::AttachWindow(0xb40000723f0ff280, 0)
D/Unity   (20987): Initialize engine version: 2021.3.10f1 (1c7d0df0160b)
E/AudioManager(20987): updatePortConfig port not found for handle: 14
D/.translator_app(20987): PlayerBase::PlayerBase()
D/.translator_app(20987): TrackPlayerBase::TrackPlayerBase()
I/libOpenSLES(20987): Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
W/AudioTrack(20987): set(): notificationFrames=-32 clamped to the range -1 to -8
I/AudioTrack(20987): createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 1024
D/Unity   (20987): PlayerInitEngineGraphics OK
D/Unity   (20987): Found 35 native sensors
D/Unity   (20987): Sensor :        Accelerometer ( 1) ; 0.004786 / 0.00s ; LSM6DSR Accelerometer / STMicro 
D/Unity   (20987): Sensor :        Accelerometer ( 1) ; 0.004786 / 0.00s ; LSM6DSR Accelerometer / STMicro 
D/Unity   (20987): SetWindow 0 0x0
I/CustomUnityPlayer(20987): onDetachedFromWindow
E/BufferQueueProducer(20987): [SurfaceTexture-0-20987-0](id:51fb00000002,api:1,p:527,c:20987) connect: already connected (cur=1 req=1)
D/Unity   (20987): onPixelCopyFinished: 3
D/MediaRouter(20987): onRestoreRoute() : 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 }
V/MediaRouter(20987): 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 }
I/CustomUnityPlayer(20987): onAttachedToWindow
I/Unity   (20987): onResume
I/Unity   (20987): onPause
D/Unity   (20987): Vulkan PSO: No pipeline cache data available, skipping save to disk. Size[32]
D/.translator_app(20987): PlayerBase::stop() from IPlayer
D/AudioTrack(20987): stop(2827): called with 11648 frames delivered
D/Unity   (20987): Sensor :        Accelerometer ( 1) ; 0.004786 / 0.00s ; LSM6DSR Accelerometer / STMicro 
I/Unity   (20987): onResume
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
D/Unity   (20987): SetWindow 0 0xb40000723f141270
D/Unity   (20987): AndroidDisplayManagerVulkan::AttachWindow(0xb40000723f141270, 0)
E/SurfaceSyncer(20987): Failed to find sync for id=0
E/SurfaceSyncer(20987): Failed to find sync for id=1
D/Unity   (20987): InitializeOrResetSwapChain 1080x2017 hdr=0 samples=0
V/SwappyVk(20987): SwappyVk initialized for VkDevice 0xb40000729f0cb990 using VK_GOOGLE_display_timing on Android
I/SwappyVk(20987): Returning refresh duration of 16666667 nsec (approx 59.999999 Hz)
E/SurfaceSyncer(20987): Failed to find sync for id=0
E/SurfaceSyncer(20987): Failed to find sync for id=1
E/SurfaceSyncer(20987): Failed to find sync for id=2
E/BufferQueueProducer(20987): [SurfaceTexture-0-20987-0](id:51fb00000002,api:0,p:-1,c:20987) dequeueBuffer: BufferQueue has no connected producer
E/BufferQueueProducer(20987): [SurfaceTexture-0-20987-0](id:51fb00000002,api:0,p:-1,c:20987) dequeueBuffer: BufferQueue has no connected producer
E/BLASTBufferQueue(20987): [VRI[MainActivity]#0](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
E/BLASTBufferQueue(20987): [VRI[]#4](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
E/BufferQueueProducer(20987): [SurfaceTexture-0-20987-0](id:51fb00000002,api:0,p:-1,c:20987) dequeueBuffer: BufferQueue has no connected producer
E/BLASTBufferQueue(20987): [VRI[MainActivity]#0](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
E/BLASTBufferQueue(20987): [VRI[]#4](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
E/BufferQueueProducer(20987): [SurfaceTexture-0-20987-0](id:51fb00000002,api:0,p:-1,c:20987) dequeueBuffer: BufferQueue has no connected producer
E/BLASTBufferQueue(20987): [SurfaceView[com.example.translator_app/com.example.translator_app.MainActivity]#1](f:0,a:2) Faking releaseBufferCallback from transactionCompleteCallback
D/Unity   (20987): SetWindow 0 0xb40000723f141270
D/Unity   (20987): AndroidDisplayManagerVulkan::AttachWindow(0xb40000723f141270, 0)
D/Unity   (20987): InitializeOrResetSwapChain 1080x2017 hdr=0 samples=0
I/IL2CPP  (20987): Locale en-US
E/BufferQueueProducer(20987): [SurfaceTexture-0-20987-0](id:51fb00000002,api:0,p:-1,c:20987) dequeueBuffer: BufferQueue has no connected producer
D/Unity   (20987): PersistentUnitySurface.preserveContent: android.view.SurfaceView{e331863 VFE...... ........ 0,0-1080,2017 #0}
D/Unity   (20987): PlacerHoler view already exists
V/SwappyVk(20987): SwappyVk initialized for VkDevice 0xb40000729f0cb990 using VK_GOOGLE_display_timing on Android
I/SwappyVk(20987): Returning refresh duration of 16666667 nsec (approx 59.999999 Hz)
D/Unity   (20987): SetWindow 0 0x0
E/CRASH   (20987): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/CRASH   (20987): Version '2021.3.10f1 (1c7d0df0160b)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
E/CRASH   (20987): Build fingerprint: 'google/oriole/oriole:13/TQ1A.230205.002/9471150:user/release-keys'
E/CRASH   (20987): Revision: 'MP1.0'
E/CRASH   (20987): ABI: 'arm64'
E/CRASH   (20987): Timestamp: 2023-03-20 10:12:37+0530
E/CRASH   (20987): pid: 20987, tid: 21159, name: UnityGfxDeviceW  >>> com.example.translator_app <<<
E/CRASH   (20987): uid: 10293
E/CRASH   (20987): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe0
E/CRASH   (20987): Cause: null pointer dereference
E/CRASH   (20987):     x0  0000000000000000  x1  0000000000000000  x2  0000000000000000  x3  0000006e50f206b0
E/CRASH   (20987):     x4  0000000000000000  x5  00000000ffffffff  x6  00000000ffffffff  x7  0000000000000000
E/CRASH   (20987):     x8  0000006e50f206b0  x9  0000000000000000  x10 0000000000000000  x11 0000000000000000
E/CRASH   (20987):     x12 0000006efc9a4fa0  x13 0000006efc3268bc  x14 0000000000000047  x15 000000007bdf5fce
E/CRASH   (20987):     x16 0000006efcc9a1d0  x17 0000007367708840  x18 0000006dc9d10000  x19 0000000000000000
E/CRASH   (20987):     x20 0000000000000000  x21 0000000000000000  x22 0000000000000000  x23 0000000000000000
E/CRASH   (20987):     x24 0000000000000000  x25 0000000000000000  x26 0000006efcca0590  x27 0000006efc99577a
E/CRASH   (20987):     x28 0000000000000001  x29 0000000000000028
E/CRASH   (20987):     sp  0000006de0594130  lr  0000006efc203078  pc  0000006efc1d2098
E/CRASH   (20987): backtrace:
E/CRASH   (20987):       #00 pc 0000000000875098  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #01 pc 00000000008a6074  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #02 pc 000000000087289c  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #03 pc 0000000000872334  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #04 pc 0000000000879288  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #05 pc 000000000087949c  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #06 pc 000000000085d330  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #07 pc 00000000008585f0  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #08 pc 000000000096e66c  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #09 pc 000000000097634c  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #10 pc 0000000000976314  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #11 pc 000000000096e344  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #12 pc 000000000036d750  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/CRASH   (20987):       #13 pc 00000000000c226c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: dc4001c2ef2dfc23467040797a96840c)
E/CRASH   (20987):       #14 pc 0000000000054a30  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: dc4001c2ef2dfc23467040797a96840c)
I/CustomUnityPlayer(20987): onDetachedFromWindow
I/CustomUnityPlayer(20987): onAttachedToWindow
I/Unity   (20987): onResume
I/Unity   (20987): onPause
I/Unity   (20987): onResume
E/CRASH   (20987): other thread is trapped; signum = 11
E/AndroidRuntime(20987): FATAL EXCEPTION: UnityMain
E/AndroidRuntime(20987): Process: com.example.translator_app, PID: 20987
E/AndroidRuntime(20987): java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/AndroidRuntime(20987): Version '2021.3.10f1 (1c7d0df0160b)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
E/AndroidRuntime(20987): Build fingerprint: 'google/oriole/oriole:13/TQ1A.230205.002/9471150:user/release-keys'
E/AndroidRuntime(20987): Revision: 'MP1.0'
E/AndroidRuntime(20987): ABI: 'arm64'
E/AndroidRuntime(20987): Timestamp: 2023-03-20 10:12:37+0530
E/AndroidRuntime(20987): pid: 20987, tid: 21159, name: UnityGfxDeviceW  >>> com.example.translator_app <<<
E/AndroidRuntime(20987): uid: 10293
E/AndroidRuntime(20987): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe0
E/AndroidRuntime(20987): Cause: null pointer dereference
E/AndroidRuntime(20987):     x0  0000000000000000  x1  0000000000000000  x2  0000000000000000  x3  0000006e50f206b0
E/AndroidRuntime(20987):     x4  0000000000000000  x5  00000000ffffffff  x6  00000000ffffffff  x7  0000000000000000
E/AndroidRuntime(20987):     x8  0000006e50f206b0  x9  0000000000000000  x10 0000000000000000  x11 0000000000000000
E/AndroidRuntime(20987):     x12 0000006efc9a4fa0  x13 0000006efc3268bc  x14 0000000000000047  x15 000000007bdf5fce
E/AndroidRuntime(20987):     x16 0000006efcc9a1d0  x17 0000007367708840  x18 0000006dc9d10000  x19 0000000000000000
E/AndroidRuntime(20987):     x20 0000000000000000  x21 0000000000000000  x22 0000000000000000  x23 0000000000000000
E/AndroidRuntime(20987):     x24 0000000000000000  x25 0000000000000000  x26 0000006efcca0590  x27 0000006efc99577a
E/AndroidRuntime(20987):     x28 0000000000000001  x29 0000000000000028
E/AndroidRuntime(20987):     sp  0000006de0594130  lr  0000006efc203078  pc  0000006efc1d2098
E/AndroidRuntime(20987): 
E/AndroidRuntime(20987): backtrace:
E/AndroidRuntime(20987):       #00 pc 0000000000875098  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #01 pc 00000000008a6074  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #02 pc 000000000087289c  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #03 pc 0000000000872334  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #04 pc 0000000000879288  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #05 pc 000000000087949c  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #06 pc 000000000085d330  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #07 pc 00000000008585f0  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #08 pc 000000000096e66c  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #09 pc 000000000097634c  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #10 pc 0000000000976314  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #11 pc 000000000096e344  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/AndroidRuntime(20987):       #12 pc 000000000036d750  /data/app/~~SPMjtRwNYnC7oVuHShHcsA==/com.example.translator_app-wk5UsNHygfdrJZ2J0oZ5Nw==/lib/arm64/libunity.so (BuildId: 333aad4c5cc3744ff3ea3d69d9c6c39f69ff2554)
E/SurfaceSyncer(20987): Failed to find sync for id=0
E/SurfaceSyncer(20987): Failed to find sync for id=1
E/SurfaceSyncer(20987): Failed to find sync for id=2
E/AndroidRuntime(20987):       #13 pc 00000000000c226c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: dc4001c2ef2dfc23467040797a96840c)
E/AndroidRuntime(20987):       #14 pc 0000000000054a30  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: dc4001c2ef2dfc23467040797a96840c)
E/AndroidRuntime(20987): 
E/AndroidRuntime(20987):    at libunity.0x875098(Native Method)
E/AndroidRuntime(20987):    at libunity.0x8a6074(Native Method)
E/AndroidRuntime(20987):    at libunity.0x87289c(Native Method)
E/AndroidRuntime(20987):    at libunity.0x872334(Native Method)
E/AndroidRuntime(20987):    at libunity.0x879288(Native Method)
E/AndroidRuntime(20987):    at libunity.0x87949c(Native Method)
E/AndroidRuntime(20987):    at libunity.0x85d330(Native Method)
E/AndroidRuntime(20987):    at libunity.0x8585f0(Native Method)
E/AndroidRuntime(20987):    at libunity.0x96e66c(Native Method)
E/AndroidRuntime(20987):    at libunity.0x97634c(Native Method)
E/AndroidRuntime(20987):    at libunity.0x976314(Native Method)
E/AndroidRuntime(20987):    at libunity.0x96e344(Native Method)
E/AndroidRuntime(20987):    at libunity.0x36d750(Native Method)
E/AndroidRuntime(20987):    at libc.__pthread_start(void*)(__pthread_start:204)
E/AndroidRuntime(20987):    at libc.__start_thread(__start_thread:64)
E/BufferQueueProducer(20987): [SurfaceTexture-0-20987-0](id:51fb00000002,api:0,p:-1,c:20987) dequeueBuffer: BufferQueue has no connected producer
I/Process (20987): Sending signal. PID: 20987 SIG: 9
Lost connection to device.

Smartphone (please complete the following information):

timbotimbo commented 1 year ago

I can see you use Unity 2021.3.10f1.

Can you describe more of your setup?