homuler / MediaPipeUnityPlugin

Unity plugin to run MediaPipe
MIT License
1.79k stars 467 forks source link

Cannot access camera #174

Closed LeDuySon closed 3 years ago

LeDuySon commented 3 years ago

Hello @homuler, i've built your project successful using command python build.py build --desktop cpu --android arm64. And when i tried to run your scence samples, i got this error: Screenshot from 2021-05-19 11-00-13

Unity still can access my webcam camera when using WebCamTexture, i cant figure out what happen. Can someone help me!

homuler commented 3 years ago

Please share Editor.log.

LeDuySon commented 3 years ago

Here is my editor log

`` [LicensingClient] ERROR Failed to connect to local IPC [Licensing::Module] Failed to connect to channel: LicenseClient-son [Licensing::Module] Successfully launched the LicensingClient [Licensing::Module] Successfully connected to LicensingClient on channel: LicenseClient-son [SignatureVerifier] Application signature verification not supported on this platform. [Licensing::Module] Successfully launched and connected to LicensingClient Entitlement-based licensing initiated [LicensingClient] Licenses Updated successfully in LicensingClient Desktop is 1920 x 1080 @ 60 Hz [Licensing::Module] Serial number assigned to: "F4-43KV-2XRP-MRHN-4EES-XXXX"\n[Package Manager] Server::Start -- Port 57795 was selected

COMMAND LINE ARGUMENTS: unity3d Failed to connect to local IPC Name not known Gtk-Message: 20:36:25.956: GtkDialog mapped without a transient parent. This is discouraged.

(unity3d:5974): Gtk-CRITICAL **: 20:36:27.717: gtk_file_chooser_widget_set_current_name: assertion 'priv->action == GTK_FILE_CHOOSER_ACTION_SAVE || priv->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed Gtk-Message: 20:36:27.728: GtkDialog mapped without a transient parent. This is discouraged. /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin Using Asset Import Pipeline V2. [Package Manager] Server::EnsureServerProcessIsRunning -- ReadyRequest exceeded maximum alloted time, ran for [12] seconds [Package Manager] Server::Kill -- Server was shutdown [Package Manager] PackageManager Server::Start -- Process restart attempt #2

[Package Manager] Server::Start -- Port 33998 was selected Adding genesis user token [Package Manager] Done resolving packages in 0,68s seconds [Package Manager] Done checking package constraints in 0,00s seconds

(unity3d:5974): Gtk-CRITICAL **: 20:36:40.146: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed [Package Manager] Registered 55 packages: Packages from [https://packages.unity.com]: com.unity.2d.animation@3.2.5 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.2d.animation@3.2.5) com.unity.2d.pixel-perfect@2.1.0 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.2d.pixel-perfect@2.1.0) com.unity.2d.psdimporter@2.1.6 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.2d.psdimporter@2.1.6) com.unity.2d.spriteshape@3.0.15 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.2d.spriteshape@3.0.15) com.unity.collab-proxy@1.2.16 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.collab-proxy@1.2.16) com.unity.ide.rider@1.2.1 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.ide.rider@1.2.1) com.unity.ide.vscode@1.2.3 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.ide.vscode@1.2.3) com.unity.mathematics@1.2.1 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.mathematics@1.2.1) com.unity.settings-manager@1.0.3 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.settings-manager@1.0.3) com.unity.test-framework@1.1.24 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.test-framework@1.1.24) com.unity.testtools.codecoverage@1.0.0 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.testtools.codecoverage@1.0.0) com.unity.textmeshpro@2.0.1 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.textmeshpro@2.0.1) com.unity.timeline@1.2.18 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.timeline@1.2.18) com.unity.toolchain.linux-x86_64@0.1.18-preview (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.toolchain.linux-x86_64@0.1.18-preview) com.unity.2d.common@2.1.0 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.2d.common@2.1.0) com.unity.2d.path@2.1.0 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.2d.path@2.1.0) com.unity.ext.nunit@1.0.6 (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.ext.nunit@1.0.6) com.unity.sysroot@0.1.19-preview (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.sysroot@0.1.19-preview) com.unity.sysroot.linux-x86_64@0.1.14-preview (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Library/PackageCache/com.unity.sysroot.linux-x86_64@0.1.14-preview) Built-in packages: com.unity.2d.sprite@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.2d.sprite) com.unity.2d.tilemap@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.2d.tilemap) com.unity.ugui@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui) com.unity.modules.ai@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.ai) com.unity.modules.androidjni@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.androidjni) com.unity.modules.animation@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.animation) com.unity.modules.assetbundle@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.assetbundle) com.unity.modules.audio@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.audio) com.unity.modules.cloth@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.cloth) com.unity.modules.director@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.director) com.unity.modules.imageconversion@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.imageconversion) com.unity.modules.imgui@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.imgui) com.unity.modules.jsonserialize@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.jsonserialize) com.unity.modules.particlesystem@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.particlesystem) com.unity.modules.physics@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics) com.unity.modules.physics2d@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics2d) com.unity.modules.screencapture@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.screencapture) com.unity.modules.terrain@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrain) com.unity.modules.terrainphysics@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrainphysics) com.unity.modules.tilemap@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.tilemap) com.unity.modules.ui@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.ui) com.unity.modules.uielements@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.uielements) com.unity.modules.umbra@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.umbra) com.unity.modules.unityanalytics@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unityanalytics) com.unity.modules.unitywebrequest@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequest) com.unity.modules.unitywebrequestassetbundle@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestassetbundle) com.unity.modules.unitywebrequestaudio@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestaudio) com.unity.modules.unitywebrequesttexture@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequesttexture) com.unity.modules.unitywebrequestwww@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestwww) com.unity.modules.vehicles@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.vehicles) com.unity.modules.video@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.video) com.unity.modules.vr@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.vr) com.unity.modules.wind@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.wind) com.unity.modules.xr@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.xr) com.unity.modules.subsystems@1.0.0 (location: /opt/Unity3D/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.subsystems) Embedded packages: com.github.homuler.mediapipe@file:/home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Packages/com.github.homuler.mediapipe (location: /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Packages/com.github.homuler.mediapipe)

[Subsystems] No new subsystems found in resolved package list. [Package Manager] Done registering packages in 0,00s seconds Refreshing native plugins compatible for Editor in 68,44 ms, found 2 plugins. Preloading 0 native plugins for Editor in 0,00 ms. IsTimeToCheckForNewEditor: Update time 1596992297 current 1621431400 Initialize engine version: 2019.4.0f1 (0af376155913) [Subsystems] Discovering subsystems at path /opt/Unity3D/Editor/Data/Resources/UnitySubsystems [Subsystems] Discovering subsystems at path /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets [vulkan] LoadVulkanLibrary libvulkan.so.1[vulkan] Loaded instance function vkGetInstanceProcAddr [vulkan] Loaded instance function vkGetInstanceProcAddr [vulkan] Loaded instance function vkCreateInstance [vulkan] Loaded instance function vkEnumerateInstanceExtensionProperties [vulkan] Loaded instance function vkEnumerateInstanceLayerProperties [vulkan] Loaded instance function vkEnumerateInstanceVersion [Vulkan init] extensions: count=15 [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0 [Vulkan init] extensions: name=VK_KHR_display, enabled=1 [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0 [Vulkan init] extensions: name=VK_KHR_surface, enabled=1 [Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0 [Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1 [Vulkan init] extensions: name=VK_EXT_acquire_xlib_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1 [Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0 [Vulkan init] extensions: name=VK_EXT_direct_mode_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_display_surface_counter, enabled=0 [vulkan] Loaded instance function vkDestroyInstance [vulkan] Loaded instance function vkGetPhysicalDeviceProperties [vulkan] Loaded instance function vkGetPhysicalDeviceProperties2 [vulkan] Loaded instance function vkEnumeratePhysicalDevices Vulkan detection: 2 [Vulkan init] extensions: count=15 [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0 [Vulkan init] extensions: name=VK_KHR_display, enabled=1 [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0 [Vulkan init] extensions: name=VK_KHR_surface, enabled=1 [Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0 [Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1 [Vulkan init] extensions: name=VK_EXT_acquire_xlib_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1 [Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0 [Vulkan init] extensions: name=VK_EXT_direct_mode_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_display_surface_counter, enabled=0 [vulkan] Loaded instance function vkDestroyInstance [vulkan] Loaded instance function vkGetPhysicalDeviceProperties [vulkan] Loaded instance function vkGetPhysicalDeviceProperties2 [vulkan] Loaded instance function vkEnumeratePhysicalDevices [vulkan] Loaded instance function vkGetDeviceProcAddr [vulkan] Loaded instance function vkGetPhysicalDeviceFeatures [vulkan] Loaded instance function vkGetPhysicalDeviceFormatProperties [vulkan] Loaded instance function vkGetPhysicalDeviceImageFormatProperties [vulkan] Loaded instance function vkGetPhysicalDeviceQueueFamilyProperties [vulkan] Loaded instance function vkGetPhysicalDeviceMemoryProperties [vulkan] Loaded instance function vkCreateDevice [vulkan] Loaded instance function vkEnumerateDeviceExtensionProperties [vulkan] Loaded instance function vkEnumerateDeviceLayerProperties [vulkan] Loaded instance function vkGetPhysicalDeviceSparseImageFormatProperties [vulkan] Loaded instance function vkDestroySurfaceKHR [vulkan] Loaded instance function vkGetPhysicalDeviceSurfaceSupportKHR [vulkan] Loaded instance function vkGetPhysicalDeviceSurfaceCapabilitiesKHR [vulkan] Loaded instance function vkGetPhysicalDeviceSurfaceFormatsKHR [vulkan] Loaded instance function vkGetPhysicalDeviceSurfacePresentModesKHR [vulkan] Loaded instance function vkCreateSwapchainKHR [vulkan] Loaded instance function vkDestroySwapchainKHR [vulkan] Loaded instance function vkGetSwapchainImagesKHR [vulkan] Loaded instance function vkAcquireNextImageKHR [vulkan] Loaded instance function vkQueuePresentKHR [vulkan] Loaded instance function vkGetPhysicalDeviceDisplayPropertiesKHR [vulkan] Loaded instance function vkGetPhysicalDeviceDisplayPlanePropertiesKHR [vulkan] Loaded instance function vkGetDisplayPlaneSupportedDisplaysKHR [vulkan] Loaded instance function vkGetDisplayModePropertiesKHR [vulkan] Loaded instance function vkCreateDisplayModeKHR [vulkan] Loaded instance function vkGetDisplayPlaneCapabilitiesKHR [vulkan] Loaded instance function vkCreateDisplayPlaneSurfaceKHR [vulkan] Loaded instance function vkCreateSharedSwapchainsKHR [vulkan] Loaded instance function vkCreateXlibSurfaceKHR [vulkan] Loaded instance function vkGetPhysicalDeviceXlibPresentationSupportKHR [vulkan] Loaded instance function vkSetHdrMetadataEXT [Vulkan init] Graphics queue count=1 [Vulkan init] extensions: count=97 [Vulkan init] extensions: name=VK_KHR_16bit_storage, enabled=0 [Vulkan init] extensions: name=VK_KHR_8bit_storage, enabled=0 [Vulkan init] extensions: name=VK_KHR_bind_memory2, enabled=0 [Vulkan init] extensions: name=VK_KHR_buffer_device_address, enabled=0 [Vulkan init] extensions: name=VK_KHR_create_renderpass2, enabled=0 [Vulkan init] extensions: name=VK_KHR_dedicated_allocation, enabled=1 [Vulkan init] extensions: name=VK_KHR_depth_stencil_resolve, enabled=0 [Vulkan init] extensions: name=VK_KHR_descriptor_update_template, enabled=1 [Vulkan init] extensions: name=VK_KHR_device_group, enabled=0 [Vulkan init] extensions: name=VK_KHR_draw_indirect_count, enabled=0 [Vulkan init] extensions: name=VK_KHR_driver_properties, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_fence, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_fence_fd, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory_fd, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore_fd, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_memory_requirements2, enabled=1 [Vulkan init] extensions: name=VK_KHR_image_format_list, enabled=1 [Vulkan init] extensions: name=VK_KHR_imageless_framebuffer, enabled=0 [Vulkan init] extensions: name=VK_KHR_maintenance1, enabled=1 [Vulkan init] extensions: name=VK_KHR_maintenance2, enabled=1 [Vulkan init] extensions: name=VK_KHR_maintenance3, enabled=0 [Vulkan init] extensions: name=VK_KHR_multiview, enabled=1 [Vulkan init] extensions: name=VK_KHR_pipeline_executable_properties, enabled=0 [Vulkan init] extensions: name=VK_KHR_push_descriptor, enabled=0 [Vulkan init] extensions: name=VK_KHR_relaxed_block_layout, enabled=0 [Vulkan init] extensions: name=VK_KHR_sampler_mirror_clamp_to_edge, enabled=1 [Vulkan init] extensions: name=VK_KHR_sampler_ycbcr_conversion, enabled=0 [Vulkan init] extensions: name=VK_KHR_separate_depth_stencil_layouts, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_atomic_int64, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_clock, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_draw_parameters, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_float16_int8, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_float_controls, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_non_semantic_info, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_subgroup_extended_types, enabled=0 [Vulkan init] extensions: name=VK_KHR_spirv_1_4, enabled=0 [Vulkan init] extensions: name=VK_KHR_storage_buffer_storage_class, enabled=0 [Vulkan init] extensions: name=VK_KHR_swapchain, enabled=1 [Vulkan init] extensions: name=VK_KHR_swapchain_mutable_format, enabled=0 [Vulkan init] extensions: name=VK_KHR_timeline_semaphore, enabled=0 [Vulkan init] extensions: name=VK_KHR_uniform_buffer_standard_layout, enabled=0 [Vulkan init] extensions: name=VK_KHR_variable_pointers, enabled=0 [Vulkan init] extensions: name=VK_KHR_vulkan_memory_model, enabled=0 [Vulkan init] extensions: name=VK_EXT_blend_operation_advanced, enabled=0 [Vulkan init] extensions: name=VK_EXT_buffer_device_address, enabled=0 [Vulkan init] extensions: name=VK_EXT_calibrated_timestamps, enabled=0 [Vulkan init] extensions: name=VK_EXT_conditional_rendering, enabled=0 [Vulkan init] extensions: name=VK_EXT_conservative_rasterization, enabled=0 [Vulkan init] extensions: name=VK_EXT_custom_border_color, enabled=0 [Vulkan init] extensions: name=VK_EXT_depth_clip_enable, enabled=0 [Vulkan init] extensions: name=VK_EXT_depth_range_unrestricted, enabled=0 [Vulkan init] extensions: name=VK_EXT_descriptor_indexing, enabled=0 [Vulkan init] extensions: name=VK_EXT_discard_rectangles, enabled=0 [Vulkan init] extensions: name=VK_EXT_display_control, enabled=0 [Vulkan init] extensions: name=VK_EXT_fragment_shader_interlock, enabled=0 [Vulkan init] extensions: name=VK_EXT_global_priority, enabled=0 [Vulkan init] extensions: name=VK_EXT_host_query_reset, enabled=0 [Vulkan init] extensions: name=VK_EXT_index_type_uint8, enabled=0 [Vulkan init] extensions: name=VK_EXT_inline_uniform_block, enabled=0 [Vulkan init] extensions: name=VK_EXT_line_rasterization, enabled=0 [Vulkan init] extensions: name=VK_EXT_memory_budget, enabled=0 [Vulkan init] extensions: name=VK_EXT_pci_bus_info, enabled=0 [Vulkan init] extensions: name=VK_EXT_pipeline_creation_feedback, enabled=0 [Vulkan init] extensions: name=VK_EXT_post_depth_coverage, enabled=0 [Vulkan init] extensions: name=VK_EXT_sample_locations, enabled=0 [Vulkan init] extensions: name=VK_EXT_sampler_filter_minmax, enabled=0 [Vulkan init] extensions: name=VK_EXT_scalar_block_layout, enabled=0 [Vulkan init] extensions: name=VK_EXT_separate_stencil_usage, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_demote_to_helper_invocation, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_subgroup_ballot, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_subgroup_vote, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_viewport_index_layer, enabled=0 [Vulkan init] extensions: name=VK_EXT_subgroup_size_control, enabled=0 [Vulkan init] extensions: name=VK_EXT_texel_buffer_alignment, enabled=0 [Vulkan init] extensions: name=VK_EXT_tooling_info, enabled=0 [Vulkan init] extensions: name=VK_EXT_transform_feedback, enabled=0 [Vulkan init] extensions: name=VK_EXT_vertex_attribute_divisor, enabled=0 [Vulkan init] extensions: name=VK_EXT_ycbcr_image_arrays, enabled=0 [Vulkan init] extensions: name=VK_NV_clip_space_w_scaling, enabled=0 [Vulkan init] extensions: name=VK_NV_coverage_reduction_mode, enabled=0 [Vulkan init] extensions: name=VK_NV_dedicated_allocation, enabled=0 [Vulkan init] extensions: name=VK_NV_dedicated_allocation_image_aliasing, enabled=0 [Vulkan init] extensions: name=VK_NV_device_diagnostic_checkpoints, enabled=0 [Vulkan init] extensions: name=VK_NV_device_diagnostics_config, enabled=0 [Vulkan init] extensions: name=VK_NV_fill_rectangle, enabled=0 [Vulkan init] extensions: name=VK_NV_fragment_coverage_to_color, enabled=0 [Vulkan init] extensions: name=VK_NV_framebuffer_mixed_samples, enabled=0 [Vulkan init] extensions: name=VK_NV_geometry_shader_passthrough, enabled=0 [Vulkan init] extensions: name=VK_NV_sample_mask_override_coverage, enabled=0 [Vulkan init] extensions: name=VK_NV_shader_sm_builtins, enabled=0 [Vulkan init] extensions: name=VK_NV_shader_subgroup_partitioned, enabled=0 [Vulkan init] extensions: name=VK_NV_viewport_array2, enabled=0 [Vulkan init] extensions: name=VK_NV_viewport_swizzle, enabled=0 [Vulkan init] extensions: name=VK_NVX_device_generated_commands, enabled=0 [Vulkan init] extensions: name=VK_NVX_multiview_per_view_attributes, enabled=0 [vulkan] Loaded device function vkDestroyDevice [vulkan] Loaded device function vkGetDeviceQueue [vulkan] Loaded device function vkQueueSubmit [vulkan] Loaded device function vkQueueWaitIdle [vulkan] Loaded device function vkDeviceWaitIdle [vulkan] Loaded device function vkAllocateMemory [vulkan] Loaded device function vkFreeMemory [vulkan] Loaded device function vkMapMemory [vulkan] Loaded device function vkUnmapMemory [vulkan] Loaded device function vkFlushMappedMemoryRanges [vulkan] Loaded device function vkInvalidateMappedMemoryRanges [vulkan] Loaded device function vkGetDeviceMemoryCommitment [vulkan] Loaded device function vkBindBufferMemory [vulkan] Loaded device function vkBindImageMemory [vulkan] Loaded device function vkGetBufferMemoryRequirements [vulkan] Loaded device function vkGetImageMemoryRequirements [vulkan] Loaded device function vkGetImageSparseMemoryRequirements [vulkan] Loaded device function vkQueueBindSparse [vulkan] Loaded device function vkCreateFence [vulkan] Loaded device function vkDestroyFence [vulkan] Loaded device function vkResetFences [vulkan] Loaded device function vkGetFenceStatus [vulkan] Loaded device function vkWaitForFences [vulkan] Loaded device function vkCreateSemaphore [vulkan] Loaded device function vkDestroySemaphore [vulkan] Loaded device function vkCreateEvent [vulkan] Loaded device function vkDestroyEvent [vulkan] Loaded device function vkGetEventStatus [vulkan] Loaded device function vkSetEvent [vulkan] Loaded device function vkResetEvent [vulkan] Loaded device function vkCreateQueryPool [vulkan] Loaded device function vkDestroyQueryPool [vulkan] Loaded device function vkGetQueryPoolResults [vulkan] Loaded device function vkCreateBuffer [vulkan] Loaded device function vkDestroyBuffer [vulkan] Loaded device function vkCreateBufferView [vulkan] Loaded device function vkDestroyBufferView [vulkan] Loaded device function vkCreateImage [vulkan] Loaded device function vkDestroyImage [vulkan] Loaded device function vkGetImageSubresourceLayout [vulkan] Loaded device function vkCreateImageView [vulkan] Loaded device function vkDestroyImageView [vulkan] Loaded device function vkCreateShaderModule [vulkan] Loaded device function vkDestroyShaderModule [vulkan] Loaded device function vkCreatePipelineCache [vulkan] Loaded device function vkDestroyPipelineCache [vulkan] Loaded device function vkGetPipelineCacheData [vulkan] Loaded device function vkMergePipelineCaches [vulkan] Loaded device function vkCreateGraphicsPipelines [vulkan] Loaded device function vkCreateComputePipelines [vulkan] Loaded device function vkDestroyPipeline [vulkan] Loaded device function vkCreatePipelineLayout [vulkan] Loaded device function vkDestroyPipelineLayout [vulkan] Loaded device function vkCreateSampler [vulkan] Loaded device function vkDestroySampler [vulkan] Loaded device function vkCreateDescriptorSetLayout [vulkan] Loaded device function vkDestroyDescriptorSetLayout [vulkan] Loaded device function vkCreateDescriptorPool [vulkan] Loaded device function vkDestroyDescriptorPool [vulkan] Loaded device function vkResetDescriptorPool [vulkan] Loaded device function vkAllocateDescriptorSets [vulkan] Loaded device function vkFreeDescriptorSets [vulkan] Loaded device function vkUpdateDescriptorSets [vulkan] Loaded device function vkCreateFramebuffer [vulkan] Loaded device function vkDestroyFramebuffer [vulkan] Loaded device function vkCreateRenderPass [vulkan] Loaded device function vkDestroyRenderPass [vulkan] Loaded device function vkGetRenderAreaGranularity [vulkan] Loaded device function vkCreateCommandPool [vulkan] Loaded device function vkDestroyCommandPool [vulkan] Loaded device function vkResetCommandPool [vulkan] Loaded device function vkAllocateCommandBuffers [vulkan] Loaded device function vkFreeCommandBuffers [vulkan] Loaded device function vkBeginCommandBuffer [vulkan] Loaded device function vkEndCommandBuffer [vulkan] Loaded device function vkResetCommandBuffer [vulkan] Loaded device function vkCmdBindPipeline [vulkan] Loaded device function vkCmdSetViewport [vulkan] Loaded device function vkCmdSetScissor [vulkan] Loaded device function vkCmdSetLineWidth [vulkan] Loaded device function vkCmdSetDepthBias [vulkan] Loaded device function vkCmdSetBlendConstants [vulkan] Loaded device function vkCmdSetDepthBounds [vulkan] Loaded device function vkCmdSetStencilCompareMask [vulkan] Loaded device function vkCmdSetStencilWriteMask [vulkan] Loaded device function vkCmdSetStencilReference [vulkan] Loaded device function vkCmdBindDescriptorSets [vulkan] Loaded device function vkCmdBindIndexBuffer [vulkan] Loaded device function vkCmdBindVertexBuffers [vulkan] Loaded device function vkCmdDraw [vulkan] Loaded device function vkCmdDrawIndexed [vulkan] Loaded device function vkCmdDrawIndirect [vulkan] Loaded device function vkCmdDrawIndexedIndirect [vulkan] Loaded device function vkCmdDispatch [vulkan] Loaded device function vkCmdDispatchIndirect [vulkan] Loaded device function vkCmdCopyBuffer [vulkan] Loaded device function vkCmdCopyImage [vulkan] Loaded device function vkCmdBlitImage [vulkan] Loaded device function vkCmdCopyBufferToImage [vulkan] Loaded device function vkCmdCopyImageToBuffer [vulkan] Loaded device function vkCmdUpdateBuffer [vulkan] Loaded device function vkCmdFillBuffer [vulkan] Loaded device function vkCmdClearColorImage [vulkan] Loaded device function vkCmdClearDepthStencilImage [vulkan] Loaded device function vkCmdClearAttachments [vulkan] Loaded device function vkCmdResolveImage [vulkan] Loaded device function vkCmdSetEvent [vulkan] Loaded device function vkCmdResetEvent [vulkan] Loaded device function vkCmdWaitEvents [vulkan] Loaded device function vkCmdPipelineBarrier [vulkan] Loaded device function vkCmdBeginQuery [vulkan] Loaded device function vkCmdEndQuery [vulkan] Loaded device function vkCmdResetQueryPool [vulkan] Loaded device function vkCmdWriteTimestamp [vulkan] Loaded device function vkCmdCopyQueryPoolResults [vulkan] Loaded device function vkCmdPushConstants [vulkan] Loaded device function vkCmdBeginRenderPass [vulkan] Loaded device function vkCmdNextSubpass [vulkan] Loaded device function vkCmdEndRenderPass [vulkan] Loaded device function vkCmdExecuteCommands [vulkan] Loaded device function vkGetImageMemoryRequirements2KHR [vulkan] Loaded device function vkGetBufferMemoryRequirements2KHR [vulkan] Loaded device function vkGetImageSparseMemoryRequirements2KHR [vulkan] Loaded device function vkCreateDescriptorUpdateTemplateKHR [vulkan] Loaded device function vkDestroyDescriptorUpdateTemplateKHR [vulkan] Loaded device function vkUpdateDescriptorSetWithTemplateKHR [vulkan] Failed to load device function vkDebugMarkerSetObjectTagEXT [vulkan] Loaded instance function vkDebugMarkerSetObjectTagEXT [vulkan] Failed to load device function vkDebugMarkerSetObjectNameEXT [vulkan] Loaded instance function vkDebugMarkerSetObjectNameEXT [vulkan] Failed to load device function vkCmdDebugMarkerBeginEXT [vulkan] Loaded instance function vkCmdDebugMarkerBeginEXT [vulkan] Failed to load device function vkCmdDebugMarkerEndEXT [vulkan] Loaded instance function vkCmdDebugMarkerEndEXT [vulkan] Failed to load device function vkCmdDebugMarkerInsertEXT [vulkan] Loaded instance function vkCmdDebugMarkerInsertEXT Vulkan API version 1.1.0 (1.2.133 supported by driver) Vulkan vendor=[NVIDIA] id=[10de] Vulkan renderer=[GeForce GTX 1050 Ti] id=[1c8f] Vulkan device type 2 Vulkan driverversion=[0x709dc0c0] uint=[1889386688] Vulkan PSO: cache data not found [path=/tmp/DefaultCompany/MediaPipeUnityPlugin/vulkan_pso_cache.bin] Initialize mono Mono path[0] = '/opt/Unity3D/Editor/Data/Managed' Mono path[1] = '/opt/Unity3D/Editor/Data/MonoBleedingEdge/lib/mono/unityjit' Mono config path = '/opt/Unity3D/Editor/Data/MonoBleedingEdge/etc' Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56974 ImportWorker Server TCP listen port: 46247 Begin MonoManager ReloadAssembly Registering precompiled unity dll's ... Register platform support module: /opt/Unity3D/Editor/Data/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll Register platform support module: /opt/Unity3D/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll Registered in 0,002693 seconds. Native extension for Android target not found Native extension for LinuxStandalone target not found Refreshing native plugins compatible for Editor in 18,00 ms, found 2 plugins. Preloading 0 native plugins for Editor in 0,00 ms. Mono: successfully reloaded assembly

Unloading 145 unused Assets to reduce memory usage. Loaded Objects now: 2640. Total: 4,911056 ms (FindLiveObjects: 0,464839 ms CreateObjectMapping: 0,208452 ms MarkObjects: 3,156459 ms DeleteObjects: 1,080270 ms)

[MODES] Loading mode Default (0) for mode-current-id-MediaPipeUnityPlugin

(unity3d:5974): Gtk-CRITICAL **: 20:36:46.700: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(unity3d:5974): Gtk-CRITICAL **: 20:36:46.749: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(unity3d:5974): Gtk-CRITICAL **: 20:36:46.765: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(unity3d:5974): Gtk-CRITICAL **: 20:36:46.766: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(unity3d:5974): Gtk-CRITICAL **: 20:36:46.766: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(unity3d:5974): Gtk-CRITICAL **: 20:36:46.766: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Unhandled description string = Unhandled description string - Unhandled description string TAB Unhandled description string TAB Unhandled description string ' Unhandled description string = Unhandled description string - Unhandled description string TAB Unhandled description string TAB Unhandled description string ' [Project] Loading completed in 22,508 seconds Project init time: 0,240 seconds Template init time: 0,000 seconds Services packages init time: 0,000 seconds Package Manager init time: 0,000 seconds Asset Database init time: 0,000 seconds Global illumination init time: 0,000 seconds Assemblies load time: 0,000 seconds Unity extensions init time: 0,002 seconds Asset Database refresh time: 0,000 seconds Scene opening time: 0,600 seconds Refresh completed in 0,030956 seconds. RefreshInfo: RefreshV2(ForceSynchronousImport) RefreshProfiler: Total: 30,928ms InvokeBeforeRefreshCallbacks: 0,130ms ApplyChangesToAssetFolders: 0,074ms WriteModifiedImportersToTextMetaFiles: 0,000ms CleanLegacyArtifacts: 0,000ms Scan: 23,754ms OnSourceAssetsModified: 0,000ms UnregisterDeletedAssets: 0,000ms InitializeImportedAssetsSnapshot: 4,265ms GetAllGuidsForCategorization: 0,000ms CategorizeAssets: 0,000ms ImportAndPostprocessOutOfDateAssets: 0,000ms (0,000ms without children) ImportManagerImport: 0,000ms (0,000ms without children) ImportInProcess: 0,000ms ImportOutOfProcess: 0,000ms UpdateCategorizedAssets: 0,000ms RemoteAssetCacheGetArtifact: 0,000ms (0,000ms without children) RemoteAssetCacheResolve: 0,000ms RemoteAssetCacheDownloadFile: 0,000ms CompileScripts: 0,000ms PostProcessAllAssets: 0,000ms ReloadImportedAssets: 0,000ms VerifyAssetsAreUpToDateAndCorrect: 0,000ms EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0,000ms InitializingProgressBar: 0,000ms PostProcessAllAssetNotificationsAddChangedAssets: 0,000ms OnDemandSchedulerStart: 0,000ms RestoreLoadedAssetsState: 0,000ms InvokeProjectHasChanged: 0,000ms UpdateImportedAssetsSnapshot: 0,000ms ReloadSourceAssets: 0,000ms UnloadImportedAssets: 0,000ms Hotreload: 0,044ms FixTempGuids: 0,004ms VerifyGuidPMRegistrations: 0,000ms GatherAllCurrentPrimaryArtifactRevisions: 0,282ms UnloadStreamsBegin: 0,286ms LoadedImportedAssetsSnapshotReleaseGCHandles: 0,593ms GetLoadedSourceAssetsSnapshot: 0,567ms PersistCurrentRevisions: 0,000ms UnloadStreamsEnd: 0,010ms GenerateScriptTypeHashes: 0,000ms Curl error 7: Failed to connect to config.uca.cloud.unity3d.com port 443: Connection refused Unhandled description string = Unhandled description string - Unhandled description string TAB Unhandled description string TAB Unhandled description string ' Refreshing native plugins compatible for Editor in 1,43 ms, found 2 plugins. Created GICache directory at /tmp/GiCache. Took: 0,009s, timestamps: [22,687 - 22,696] gi::BakeBackendSwitch: switching bake backend from 3 to 1. Setting up 4 worker threads for Enlighten. Thread -> id: 7f383bca4700 -> priority: 1 Thread -> id: 7f383b4a3700 -> priority: 1 Thread -> id: 7f383aca2700 -> priority: 1 Thread -> id: 7f383a4a1700 -> priority: 1 Curl error 7: Failed to connect to cdp.cloud.unity3d.com port 443: Connection refused TrimDiskCacheJob: Current cache size 0mb Curl error 7: Failed to connect to cdp.cloud.unity3d.com port 443: Connection refused Curl error 7: Failed to connect to cdp.cloud.unity3d.com port 443: Connection refused Curl error 7: Failed to connect to cdp.cloud.unity3d.com port 443: Connection refused Curl error 7: Failed to connect to cdp.cloud.unity3d.com port 443: Connection refused Refresh completed in 0,039051 seconds. RefreshInfo: RefreshV2(ForceSynchronousImport) RefreshProfiler: Total: 39,022ms InvokeBeforeRefreshCallbacks: 0,223ms ApplyChangesToAssetFolders: 0,110ms WriteModifiedImportersToTextMetaFiles: 0,000ms CleanLegacyArtifacts: 0,000ms Scan: 27,696ms OnSourceAssetsModified: 0,000ms UnregisterDeletedAssets: 0,000ms InitializeImportedAssetsSnapshot: 6,562ms GetAllGuidsForCategorization: 0,000ms CategorizeAssets: 0,000ms ImportAndPostprocessOutOfDateAssets: 0,000ms (0,000ms without children) ImportManagerImport: 0,000ms (0,000ms without children) ImportInProcess: 0,000ms ImportOutOfProcess: 0,000ms UpdateCategorizedAssets: 0,000ms RemoteAssetCacheGetArtifact: 0,000ms (0,000ms without children) RemoteAssetCacheResolve: 0,000ms RemoteAssetCacheDownloadFile: 0,000ms CompileScripts: 0,000ms PostProcessAllAssets: 0,000ms ReloadImportedAssets: 0,000ms VerifyAssetsAreUpToDateAndCorrect: 0,000ms EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0,000ms InitializingProgressBar: 0,000ms PostProcessAllAssetNotificationsAddChangedAssets: 0,000ms OnDemandSchedulerStart: 0,000ms RestoreLoadedAssetsState: 0,000ms InvokeProjectHasChanged: 0,000ms UpdateImportedAssetsSnapshot: 0,000ms ReloadSourceAssets: 0,000ms UnloadImportedAssets: 0,000ms Hotreload: 0,078ms FixTempGuids: 0,004ms VerifyGuidPMRegistrations: 0,000ms GatherAllCurrentPrimaryArtifactRevisions: 0,400ms UnloadStreamsBegin: 0,244ms LoadedImportedAssetsSnapshotReleaseGCHandles: 0,989ms GetLoadedSourceAssetsSnapshot: 1,471ms PersistCurrentRevisions: 0,000ms UnloadStreamsEnd: 0,025ms GenerateScriptTypeHashes: 0,000ms Opening scene 'Assets/Mediapipe/Samples/Scenes/DesktopDemo.unity' Unloading 4 Unused Serialized files (Serialized files now loaded: 0) Loaded scene 'Assets/Mediapipe/Samples/Scenes/DesktopDemo.unity' Deserialize: 2,959 ms Integration: 6,025 ms Integration of assets: 0,003 ms Thread Wait Time: 17,315 ms Total Operation Time: 26,302 ms System memory in use before: 95,0 MB. System memory in use after: 77,5 MB.

Unloading 56 unused Assets to reduce memory usage. Loaded Objects now: 3396. Total: 17,486449 ms (FindLiveObjects: 0,498741 ms CreateObjectMapping: 0,135166 ms MarkObjects: 11,986971 ms DeleteObjects: 4,864577 ms)

Reloading assemblies for play mode. Begin MonoManager ReloadAssembly Native extension for Android target not found Native extension for LinuxStandalone target not found Refreshing native plugins compatible for Editor in 0,92 ms, found 2 plugins. Preloading 0 native plugins for Editor in 0,00 ms. [MODES] Loading mode Default (0) for mode-current-id-MediaPipeUnityPlugin Mono: successfully reloaded assembly Unhandled description string = Unhandled description string - Unhandled description string TAB Unhandled description string TAB Unhandled description string '

(Filename: Assets/Mediapipe/Samples/Scripts/GraphSelectorController.cs Line: 68)

WebCamDevice Changed: UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) WebCamDeviceSelectorController:OnValueChanged(Dropdown) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:61) WebCamDeviceSelectorController:ResetOptions(WebCamDevice[]) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:56)

d__2:MoveNext() (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:45) UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (at /home/builduser/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal_Injected(RenderTexture, Int32, Vector2&, Boolean, Boolean) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal(RenderTexture, Int32, Vector2, Boolean, Boolean) UnityEditor.PlayModeView:RenderView(Vector2, Boolean) (at /home/builduser/buildslave/unity/build/Editor/Mono/PlayModeView/PlayModeView.cs:177) UnityEditor.GameView:OnGUI() (at /home/builduser/buildslave/unity/build/Editor/Mono/GameView/GameView.cs:881) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:381) UnityEditor.HostView:Invoke(String) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:375) UnityEditor.HostView:InvokeOnGUI(Rect, Rect) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:345) UnityEditor.MaximizedHostView:OldOnGUI() (at /home/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:1135) UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect, Action, Boolean) (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:276) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect, Action, Boolean) (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:508) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint() (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:463) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh(DrawParams, Boolean, Single, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderers.cs:107) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain(RenderChainCommand, Rect, Matrix4x4, PanelClearFlags, Texture, Texture, Texture, Single, NativeArray`1, NativeArray`1, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:849) UnityEngine.UIElements.UIR.UIRenderDevice:DrawChain(RenderChainCommand, Rect, Matrix4x4, PanelClearFlags, Texture, Texture, Texture, Single, NativeArray`1, NativeArray`1, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:959) UnityEngine.UIElements.UIR.RenderChain:Render(Rect, Matrix4x4, PanelClearFlags) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:380) UnityEngine.UIElements.UIRRepaintUpdater:DrawChain(Rect, Matrix4x4) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:68) UnityEngine.UIElements.UIRRepaintUpdater:Update() (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:57) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase(VisualTreeUpdatePhase) (at /home/builduser/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:84) UnityEngine.UIElements.Panel:UpdateForRepaint() (at /home/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:721) UnityEngine.UIElements.Panel:Repaint(Event) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:747) UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:387) UnityEngine.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:194) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197) (Filename: Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs Line: 61) NullReferenceException: Object reference not set to an instance of an object at SceneDirector.ResetCamera (System.Nullable`1[T] webCamDevice) [0x00008] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/SceneDirector.cs:86 at SceneDirector.ChangeWebCamDevice (System.Nullable`1[T] webCamDevice) [0x00014] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/SceneDirector.cs:75 at WebCamDeviceSelectorController.OnValueChanged (UnityEngine.UI.Dropdown dropdown) [0x0005e] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:62 at WebCamDeviceSelectorController.ResetOptions (UnityEngine.WebCamDevice[] devices) [0x00047] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:56 at WebCamDeviceSelectorController+d__2.MoveNext () [0x000ac] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:45 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00020] in /home/builduser/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17 UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal_Injected(RenderTexture, Int32, Vector2&, Boolean, Boolean) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal(RenderTexture, Int32, Vector2, Boolean, Boolean) UnityEditor.PlayModeView:RenderView(Vector2, Boolean) (at /home/builduser/buildslave/unity/build/Editor/Mono/PlayModeView/PlayModeView.cs:177) UnityEditor.GameView:OnGUI() (at /home/builduser/buildslave/unity/build/Editor/Mono/GameView/GameView.cs:881) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:381) UnityEditor.HostView:Invoke(String) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:375) UnityEditor.HostView:InvokeOnGUI(Rect, Rect) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:345) UnityEditor.MaximizedHostView:OldOnGUI() (at /home/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:1135) UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect, Action, Boolean) (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:276) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect, Action, Boolean) (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:508) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint() (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:463) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh(DrawParams, Boolean, Single, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderers.cs:107) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain(RenderChainCommand, Rect, Matrix4x4, PanelClearFlags, Texture, Texture, Texture, Single, NativeArray`1, NativeArray`1, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:849) UnityEngine.UIElements.UIR.UIRenderDevice:DrawChain(RenderChainCommand, Rect, Matrix4x4, PanelClearFlags, Texture, Texture, Texture, Single, NativeArray`1, NativeArray`1, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:959) UnityEngine.UIElements.UIR.RenderChain:Render(Rect, Matrix4x4, PanelClearFlags) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:380) UnityEngine.UIElements.UIRRepaintUpdater:DrawChain(Rect, Matrix4x4) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:68) UnityEngine.UIElements.UIRRepaintUpdater:Update() (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:57) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase(VisualTreeUpdatePhase) (at /home/builduser/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:84) UnityEngine.UIElements.Panel:UpdateForRepaint() (at /home/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:721) UnityEngine.UIElements.Panel:Repaint(Event) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:747) UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:387) UnityEngine.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:194) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197) (Filename: Assets/Mediapipe/Samples/Scripts/SceneDirector.cs Line: 86) Unhandled description string = Unhandled description string - Unhandled description string TAB Unhandled description string TAB Unhandled description string ' Unloading 112 Unused Serialized files (Serialized files now loaded: 0) Loaded scene 'Temp/__Backupscenes/0.backup' Deserialize: 10,254 ms Integration: 17,222 ms Integration of assets: 0,011 ms Thread Wait Time: 20,089 ms Total Operation Time: 47,576 ms System memory in use before: 77,6 MB. System memory in use after: 77,7 MB. Unloading 114 unused Assets to reduce memory usage. Loaded Objects now: 3403. Total: 29,797825 ms (FindLiveObjects: 1,246632 ms CreateObjectMapping: 0,303177 ms MarkObjects: 28,058701 ms DeleteObjects: 0,186373 ms) Opening scene 'Assets/Mediapipe/Samples/Scenes/DesktopDemo.unity' Unloading 1 Unused Serialized files (Serialized files now loaded: 0) Loaded scene 'Assets/Mediapipe/Samples/Scenes/DesktopDemo.unity' Deserialize: 2,781 ms Integration: 15,580 ms Integration of assets: 0,006 ms Thread Wait Time: 17,420 ms Total Operation Time: 35,787 ms System memory in use before: 76,9 MB. System memory in use after: 77,1 MB. Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 3403. Total: 29,590410 ms (FindLiveObjects: 1,263414 ms CreateObjectMapping: 0,301060 ms MarkObjects: 28,000585 ms DeleteObjects: 0,022950 ms) Opening scene 'Assets/Mediapipe/Samples/Scenes/DesktopDemo.unity' Unloading 1 Unused Serialized files (Serialized files now loaded: 0) Loaded scene 'Assets/Mediapipe/Samples/Scenes/DesktopDemo.unity' Deserialize: 7,211 ms Integration: 3,758 ms Integration of assets: 0,003 ms Thread Wait Time: 13,055 ms Total Operation Time: 24,026 ms System memory in use before: 76,9 MB. System memory in use after: 77,1 MB. Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 3403. Total: 10,671854 ms (FindLiveObjects: 0,446370 ms CreateObjectMapping: 0,094566 ms MarkObjects: 10,121121 ms DeleteObjects: 0,008932 ms) Curl error 7: Failed to connect to cdp.cloud.unity3d.com port 443: Connection refused Reloading assemblies for play mode. Begin MonoManager ReloadAssembly Native extension for Android target not found Native extension for LinuxStandalone target not found Refreshing native plugins compatible for Editor in 0,90 ms, found 2 plugins. Preloading 0 native plugins for Editor in 0,00 ms. [MODES] Loading mode Default (0) for mode-current-id-MediaPipeUnityPlugin Mono: successfully reloaded assembly Unhandled description string = Unhandled description string - Unhandled description string TAB Unhandled description string TAB Unhandled description string ' - Completed reload, in 1,114 seconds Platform modules already initialized, skipping Loaded scene 'Temp/__Backupscenes/0.backup' Deserialize: 2,142 ms Integration: 28,751 ms Integration of assets: 0,005 ms Thread Wait Time: 18,006 ms Total Operation Time: 48,904 ms Graph Changed: Face Detection UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) GraphSelectorController:OnValueChanged(Dropdown) (at Assets/Mediapipe/Samples/Scripts/GraphSelectorController.cs:68) GraphSelectorController:InitializeOptions() (at Assets/Mediapipe/Samples/Scripts/GraphSelectorController.cs:55) GraphSelectorController:Start() (at Assets/Mediapipe/Samples/Scripts/GraphSelectorController.cs:30) (Filename: Assets/Mediapipe/Samples/Scripts/GraphSelectorController.cs Line: 68) WebCamDevice Changed: UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) WebCamDeviceSelectorController:OnValueChanged(Dropdown) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:61) WebCamDeviceSelectorController:ResetOptions(WebCamDevice[]) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:56) d__2:MoveNext() (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:45) UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (at /home/builduser/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal_Injected(RenderTexture, Int32, Vector2&, Boolean, Boolean) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal(RenderTexture, Int32, Vector2, Boolean, Boolean) UnityEditor.PlayModeView:RenderView(Vector2, Boolean) (at /home/builduser/buildslave/unity/build/Editor/Mono/PlayModeView/PlayModeView.cs:177) UnityEditor.GameView:OnGUI() (at /home/builduser/buildslave/unity/build/Editor/Mono/GameView/GameView.cs:881) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:381) UnityEditor.HostView:Invoke(String) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:375) UnityEditor.HostView:InvokeOnGUI(Rect, Rect) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:345) UnityEditor.MaximizedHostView:OldOnGUI() (at /home/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:1135) UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect, Action, Boolean) (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:276) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect, Action, Boolean) (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:508) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint() (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:463) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh(DrawParams, Boolean, Single, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderers.cs:107) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain(RenderChainCommand, Rect, Matrix4x4, PanelClearFlags, Texture, Texture, Texture, Single, NativeArray`1, NativeArray`1, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:849) UnityEngine.UIElements.UIR.UIRenderDevice:DrawChain(RenderChainCommand, Rect, Matrix4x4, PanelClearFlags, Texture, Texture, Texture, Single, NativeArray`1, NativeArray`1, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:959) UnityEngine.UIElements.UIR.RenderChain:Render(Rect, Matrix4x4, PanelClearFlags) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:380) UnityEngine.UIElements.UIRRepaintUpdater:DrawChain(Rect, Matrix4x4) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:68) UnityEngine.UIElements.UIRRepaintUpdater:Update() (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:57) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase(VisualTreeUpdatePhase) (at /home/builduser/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:84) UnityEngine.UIElements.Panel:UpdateForRepaint() (at /home/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:721) UnityEngine.UIElements.Panel:Repaint(Event) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:747) UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:387) UnityEngine.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:194) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197) (Filename: Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs Line: 61) NullReferenceException: Object reference not set to an instance of an object at SceneDirector.ResetCamera (System.Nullable`1[T] webCamDevice) [0x00008] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/SceneDirector.cs:86 at SceneDirector.ChangeWebCamDevice (System.Nullable`1[T] webCamDevice) [0x00014] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/SceneDirector.cs:75 at WebCamDeviceSelectorController.OnValueChanged (UnityEngine.UI.Dropdown dropdown) [0x0005e] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:62 at WebCamDeviceSelectorController.ResetOptions (UnityEngine.WebCamDevice[] devices) [0x00047] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:56 at WebCamDeviceSelectorController+d__2.MoveNext () [0x000ac] in /home/son/Work/mediapipe-unity/MediaPipeUnityPlugin/Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:45 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00020] in /home/builduser/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17 UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal_Injected(RenderTexture, Int32, Vector2&, Boolean, Boolean) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal(RenderTexture, Int32, Vector2, Boolean, Boolean) UnityEditor.PlayModeView:RenderView(Vector2, Boolean) (at /home/builduser/buildslave/unity/build/Editor/Mono/PlayModeView/PlayModeView.cs:177) UnityEditor.GameView:OnGUI() (at /home/builduser/buildslave/unity/build/Editor/Mono/GameView/GameView.cs:881) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) UnityEditor.HostView:Invoke(String, Object) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:381) UnityEditor.HostView:Invoke(String) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:375) UnityEditor.HostView:InvokeOnGUI(Rect, Rect) (at /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:345) UnityEditor.MaximizedHostView:OldOnGUI() (at /home/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:1135) UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect, Action, Boolean) (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:276) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect, Action, Boolean) (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:508) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint() (at /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:463) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh(DrawParams, Boolean, Single, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderers.cs:107) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain(RenderChainCommand, Rect, Matrix4x4, PanelClearFlags, Texture, Texture, Texture, Single, NativeArray`1, NativeArray`1, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:849) UnityEngine.UIElements.UIR.UIRenderDevice:DrawChain(RenderChainCommand, Rect, Matrix4x4, PanelClearFlags, Texture, Texture, Texture, Single, NativeArray`1, NativeArray`1, Exception&) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderDevice.cs:959) UnityEngine.UIElements.UIR.RenderChain:Render(Rect, Matrix4x4, PanelClearFlags) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:380) UnityEngine.UIElements.UIRRepaintUpdater:DrawChain(Rect, Matrix4x4) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:68) UnityEngine.UIElements.UIRRepaintUpdater:Update() (at /home/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:57) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase(VisualTreeUpdatePhase) (at /home/builduser/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:84) UnityEngine.UIElements.Panel:UpdateForRepaint() (at /home/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:721) UnityEngine.UIElements.Panel:Repaint(Event) (at /home/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:747) UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:387) UnityEngine.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:194) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197) (Filename: Assets/Mediapipe/Samples/Scripts/SceneDirector.cs Line: 86) Unhandled description string = Unhandled description string - Unhandled description string TAB Unhandled description string TAB Unhandled description string ' Refresh completed in 0,071925 seconds. RefreshInfo: RefreshV2(ForceSynchronousImport) RefreshProfiler: Total: 71,902ms InvokeBeforeRefreshCallbacks: 0,125ms ApplyChangesToAssetFolders: 0,071ms WriteModifiedImportersToTextMetaFiles: 0,000ms CleanLegacyArtifacts: 0,000ms Scan: 31,136ms OnSourceAssetsModified: 0,000ms UnregisterDeletedAssets: 0,000ms InitializeImportedAssetsSnapshot: 7,915ms GetAllGuidsForCategorization: 0,179ms CategorizeAssets: 20,154ms ImportAndPostprocessOutOfDateAssets: 4,515ms (2,253ms without children) ImportManagerImport: 0,000ms (0,000ms without children) ImportInProcess: 0,000ms ImportOutOfProcess: 0,000ms UpdateCategorizedAssets: 0,000ms RemoteAssetCacheGetArtifact: 0,000ms (0,000ms without children) RemoteAssetCacheResolve: 0,000ms RemoteAssetCacheDownloadFile: 0,000ms CompileScripts: 0,000ms PostProcessAllAssets: 0,000ms ReloadImportedAssets: 0,000ms VerifyAssetsAreUpToDateAndCorrect: 0,000ms EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0,471ms InitializingProgressBar: 0,000ms PostProcessAllAssetNotificationsAddChangedAssets: 0,175ms OnDemandSchedulerStart: 0,202ms RestoreLoadedAssetsState: 1,414ms InvokeProjectHasChanged: 0,000ms UpdateImportedAssetsSnapshot: 0,000ms ReloadSourceAssets: 0,838ms UnloadImportedAssets: 0,172ms Hotreload: 0,293ms FixTempGuids: 0,005ms VerifyGuidPMRegistrations: 0,000ms GatherAllCurrentPrimaryArtifactRevisions: 0,241ms UnloadStreamsBegin: 0,590ms LoadedImportedAssetsSnapshotReleaseGCHandles: 0,684ms GetLoadedSourceAssetsSnapshot: 2,732ms PersistCurrentRevisions: 0,000ms UnloadStreamsEnd: 0,013ms GenerateScriptTypeHashes: 0,219ms ``
homuler commented 3 years ago

Can you tell me if either webCamScreen or webCamScreen.GetComponent<WebCamScreenController>() is null? https://github.com/homuler/MediaPipeUnityPlugin/blob/8c171d0eb2d16140ea94511d3dd6c94cf3792804/Assets/Mediapipe/Samples/Scripts/SceneDirector.cs#L86

LeDuySon commented 3 years ago

Its webCamScreen which is null. My Player.log when running this:

Preloaded 'libmediapipe_c.so' Display 0 '0': 1920x1080 (primary device). Desktop is 1920 x 1080 @ 60 Hz [Vulkan init] extensions: count=15 [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0 [Vulkan init] extensions: name=VK_KHR_display, enabled=1 [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0 [Vulkan init] extensions: name=VK_KHR_surface, enabled=1 [Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0 [Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1 [Vulkan init] extensions: name=VK_EXT_acquire_xlib_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0 [Vulkan init] extensions: name=VK_EXT_direct_mode_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_display_surface_counter, enabled=0 Vulkan detection: 2 Initialize engine version: 2019.4.0f1 (0af376155913) [Subsystems] Discovering subsystems at path /home/son/Work/mediapipe-unity/testHandtracking_Data/UnitySubsystems GfxDevice: creating device client; threaded=1 [Vulkan init] extensions: count=15 [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0 [Vulkan init] extensions: name=VK_KHR_display, enabled=1 [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0 [Vulkan init] extensions: name=VK_KHR_surface, enabled=1 [Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0 [Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1 [Vulkan init] extensions: name=VK_EXT_acquire_xlib_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0 [Vulkan init] extensions: name=VK_EXT_direct_mode_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_display_surface_counter, enabled=0 [Vulkan init] Graphics queue count=1 [Vulkan init] extensions: count=97 [Vulkan init] extensions: name=VK_KHR_16bit_storage, enabled=0 [Vulkan init] extensions: name=VK_KHR_8bit_storage, enabled=0 [Vulkan init] extensions: name=VK_KHR_bind_memory2, enabled=0 [Vulkan init] extensions: name=VK_KHR_buffer_device_address, enabled=0 [Vulkan init] extensions: name=VK_KHR_create_renderpass2, enabled=0 [Vulkan init] extensions: name=VK_KHR_dedicated_allocation, enabled=1 [Vulkan init] extensions: name=VK_KHR_depth_stencil_resolve, enabled=0 [Vulkan init] extensions: name=VK_KHR_descriptor_update_template, enabled=1 [Vulkan init] extensions: name=VK_KHR_device_group, enabled=0 [Vulkan init] extensions: name=VK_KHR_draw_indirect_count, enabled=0 [Vulkan init] extensions: name=VK_KHR_driver_properties, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_fence, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_fence_fd, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory_fd, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore_fd, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_memory_requirements2, enabled=1 [Vulkan init] extensions: name=VK_KHR_image_format_list, enabled=1 [Vulkan init] extensions: name=VK_KHR_imageless_framebuffer, enabled=0 [Vulkan init] extensions: name=VK_KHR_maintenance1, enabled=1 [Vulkan init] extensions: name=VK_KHR_maintenance2, enabled=1 [Vulkan init] extensions: name=VK_KHR_maintenance3, enabled=0 [Vulkan init] extensions: name=VK_KHR_multiview, enabled=1 [Vulkan init] extensions: name=VK_KHR_pipeline_executable_properties, enabled=0 [Vulkan init] extensions: name=VK_KHR_push_descriptor, enabled=0 [Vulkan init] extensions: name=VK_KHR_relaxed_block_layout, enabled=0 [Vulkan init] extensions: name=VK_KHR_sampler_mirror_clamp_to_edge, enabled=1 [Vulkan init] extensions: name=VK_KHR_sampler_ycbcr_conversion, enabled=0 [Vulkan init] extensions: name=VK_KHR_separate_depth_stencil_layouts, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_atomic_int64, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_clock, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_draw_parameters, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_float16_int8, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_float_controls, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_non_semantic_info, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_subgroup_extended_types, enabled=0 [Vulkan init] extensions: name=VK_KHR_spirv_1_4, enabled=0 [Vulkan init] extensions: name=VK_KHR_storage_buffer_storage_class, enabled=0 [Vulkan init] extensions: name=VK_KHR_swapchain, enabled=1 [Vulkan init] extensions: name=VK_KHR_swapchain_mutable_format, enabled=0 [Vulkan init] extensions: name=VK_KHR_timeline_semaphore, enabled=0 [Vulkan init] extensions: name=VK_KHR_uniform_buffer_standard_layout, enabled=0 [Vulkan init] extensions: name=VK_KHR_variable_pointers, enabled=0 [Vulkan init] extensions: name=VK_KHR_vulkan_memory_model, enabled=0 [Vulkan init] extensions: name=VK_EXT_blend_operation_advanced, enabled=0 [Vulkan init] extensions: name=VK_EXT_buffer_device_address, enabled=0 [Vulkan init] extensions: name=VK_EXT_calibrated_timestamps, enabled=0 [Vulkan init] extensions: name=VK_EXT_conditional_rendering, enabled=0 [Vulkan init] extensions: name=VK_EXT_conservative_rasterization, enabled=0 [Vulkan init] extensions: name=VK_EXT_custom_border_color, enabled=0 [Vulkan init] extensions: name=VK_EXT_depth_clip_enable, enabled=0 [Vulkan init] extensions: name=VK_EXT_depth_range_unrestricted, enabled=0 [Vulkan init] extensions: name=VK_EXT_descriptor_indexing, enabled=0 [Vulkan init] extensions: name=VK_EXT_discard_rectangles, enabled=0 [Vulkan init] extensions: name=VK_EXT_display_control, enabled=0 [Vulkan init] extensions: name=VK_EXT_fragment_shader_interlock, enabled=0 [Vulkan init] extensions: name=VK_EXT_global_priority, enabled=0 [Vulkan init] extensions: name=VK_EXT_host_query_reset, enabled=0 [Vulkan init] extensions: name=VK_EXT_index_type_uint8, enabled=0 [Vulkan init] extensions: name=VK_EXT_inline_uniform_block, enabled=0 [Vulkan init] extensions: name=VK_EXT_line_rasterization, enabled=0 [Vulkan init] extensions: name=VK_EXT_memory_budget, enabled=0 [Vulkan init] extensions: name=VK_EXT_pci_bus_info, enabled=0 [Vulkan init] extensions: name=VK_EXT_pipeline_creation_feedback, enabled=0 [Vulkan init] extensions: name=VK_EXT_post_depth_coverage, enabled=0 [Vulkan init] extensions: name=VK_EXT_sample_locations, enabled=0 [Vulkan init] extensions: name=VK_EXT_sampler_filter_minmax, enabled=0 [Vulkan init] extensions: name=VK_EXT_scalar_block_layout, enabled=0 [Vulkan init] extensions: name=VK_EXT_separate_stencil_usage, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_demote_to_helper_invocation, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_subgroup_ballot, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_subgroup_vote, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_viewport_index_layer, enabled=0 [Vulkan init] extensions: name=VK_EXT_subgroup_size_control, enabled=0 [Vulkan init] extensions: name=VK_EXT_texel_buffer_alignment, enabled=0 [Vulkan init] extensions: name=VK_EXT_tooling_info, enabled=0 [Vulkan init] extensions: name=VK_EXT_transform_feedback, enabled=0 [Vulkan init] extensions: name=VK_EXT_vertex_attribute_divisor, enabled=0 [Vulkan init] extensions: name=VK_EXT_ycbcr_image_arrays, enabled=0 [Vulkan init] extensions: name=VK_NV_clip_space_w_scaling, enabled=0 [Vulkan init] extensions: name=VK_NV_coverage_reduction_mode, enabled=0 [Vulkan init] extensions: name=VK_NV_dedicated_allocation, enabled=0 [Vulkan init] extensions: name=VK_NV_dedicated_allocation_image_aliasing, enabled=0 [Vulkan init] extensions: name=VK_NV_device_diagnostic_checkpoints, enabled=0 [Vulkan init] extensions: name=VK_NV_device_diagnostics_config, enabled=0 [Vulkan init] extensions: name=VK_NV_fill_rectangle, enabled=0 [Vulkan init] extensions: name=VK_NV_fragment_coverage_to_color, enabled=0 [Vulkan init] extensions: name=VK_NV_framebuffer_mixed_samples, enabled=0 [Vulkan init] extensions: name=VK_NV_geometry_shader_passthrough, enabled=0 [Vulkan init] extensions: name=VK_NV_sample_mask_override_coverage, enabled=0 [Vulkan init] extensions: name=VK_NV_shader_sm_builtins, enabled=0 [Vulkan init] extensions: name=VK_NV_shader_subgroup_partitioned, enabled=0 [Vulkan init] extensions: name=VK_NV_viewport_array2, enabled=0 [Vulkan init] extensions: name=VK_NV_viewport_swizzle, enabled=0 [Vulkan init] extensions: name=VK_NVX_device_generated_commands, enabled=0 [Vulkan init] extensions: name=VK_NVX_multiview_per_view_attributes, enabled=0 Vulkan API version 1.1.0 (1.2.133 supported by driver) Vulkan vendor=[NVIDIA] id=[10de] Vulkan renderer=[GeForce GTX 1050 Ti] id=[1c8f] Vulkan device type 2 Vulkan driverversion=[0x709dc0c0] uint=[1889386688] Vulkan PSO: cache data not found [path=/tmp/DefaultCompany/MediaPipeUnityPlugin/vulkan_pso_cache.bin] Begin MonoManager ReloadAssembly

Camera 0: HD Webcam: HD Webcam (/dev/video0) (Filename: Line: 105)

Camera 1: HD Webcam: HD Webcam (/dev/video1) (Filename: Line: 105)

WebCamDevice Changed: HD Webcam: HD Webcam (/dev/video0) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Hello Test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Null (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Test 2 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at SceneDirector.ResetCamera (System.Nullable1[T] webCamDevice) [0x0002f] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at SceneDirector.ChangeWebCamDevice (System.Nullable1[T] webCamDevice) [0x00011] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at WebCamDeviceSelectorController.OnValueChanged (UnityEngine.UI.Dropdown dropdown) [0x00067] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at WebCamDeviceSelectorController.ResetOptions (UnityEngine.WebCamDevice[] devices) [0x00044] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at WebCamDeviceSelectorController+d__2.MoveNext () [0x00089] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

(Filename: <2c2d62a9f21447d1beb3a2d10822c60e> Line: 0)

WebCamDevice Changed: HD Webcam: HD Webcam (/dev/video1) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Hello Test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Null (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Test 2 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at SceneDirector.ResetCamera (System.Nullable1[T] webCamDevice) [0x0002f] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at SceneDirector.ChangeWebCamDevice (System.Nullable1[T] webCamDevice) [0x00011] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at WebCamDeviceSelectorController.OnValueChanged (UnityEngine.UI.Dropdown dropdown) [0x00067] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at WebCamDeviceSelectorController+<>cDisplayClass2_0.b__0 (System.Int32 ) [0x00000] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at UnityEngine.Events.InvokableCall1[T1].Invoke (T1 args0) [0x00010] in <dcb71b7b9314453ca5039035c2e7ffe9>:0 at UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) [0x00025] in :0 at UnityEngine.UI.Dropdown.Set (System.Int32 value, System.Boolean sendCallback) [0x0004c] in :0 at UnityEngine.UI.Dropdown.set_value (System.Int32 value) [0x00000] in :0 at UnityEngine.UI.Dropdown.OnSelectItem (UnityEngine.UI.Toggle toggle) [0x0004a] in :0 at UnityEngine.UI.Dropdown+<>cDisplayClass62_0.b__0 (System.Boolean x) [0x00011] in :0 at UnityEngine.Events.InvokableCall1[T1].Invoke (T1 args0) [0x00010] in <dcb71b7b9314453ca5039035c2e7ffe9>:0 at UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) [0x00025] in :0 at UnityEngine.UI.Toggle.Set (System.Boolean value, System.Boolean sendCallback) [0x0007a] in :0 at UnityEngine.UI.Toggle.set_isOn (System.Boolean value) [0x00000] in :0 at UnityEngine.UI.Toggle.InternalToggle () [0x00018] in :0 at UnityEngine.UI.Toggle.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00009] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00007] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x00063] in <b636d9e0114544e397ffcd4db921a597>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1) UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse(PointerEventData, GameObject) UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent() UnityEngine.EventSystems.StandaloneInputModule:Process() UnityEngine.EventSystems.EventSystem:Update()

(Filename: <2c2d62a9f21447d1beb3a2d10822c60e> Line: 0)

WebCamDevice Changed: HD Webcam: HD Webcam (/dev/video0) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Hello Test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Null (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Test 2 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at SceneDirector.ResetCamera (System.Nullable1[T] webCamDevice) [0x0002f] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at SceneDirector.ChangeWebCamDevice (System.Nullable1[T] webCamDevice) [0x00011] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at WebCamDeviceSelectorController.OnValueChanged (UnityEngine.UI.Dropdown dropdown) [0x00067] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at WebCamDeviceSelectorController+<>cDisplayClass2_0.b__0 (System.Int32 ) [0x00000] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at UnityEngine.Events.InvokableCall1[T1].Invoke (T1 args0) [0x00010] in <dcb71b7b9314453ca5039035c2e7ffe9>:0 at UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) [0x00025] in :0 at UnityEngine.UI.Dropdown.Set (System.Int32 value, System.Boolean sendCallback) [0x0004c] in :0 at UnityEngine.UI.Dropdown.set_value (System.Int32 value) [0x00000] in :0 at UnityEngine.UI.Dropdown.OnSelectItem (UnityEngine.UI.Toggle toggle) [0x0004a] in :0 at UnityEngine.UI.Dropdown+<>cDisplayClass62_0.b__0 (System.Boolean x) [0x00011] in :0 at UnityEngine.Events.InvokableCall1[T1].Invoke (T1 args0) [0x00010] in <dcb71b7b9314453ca5039035c2e7ffe9>:0 at UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) [0x00025] in :0 at UnityEngine.UI.Toggle.Set (System.Boolean value, System.Boolean sendCallback) [0x0007a] in :0 at UnityEngine.UI.Toggle.set_isOn (System.Boolean value) [0x00000] in :0 at UnityEngine.UI.Toggle.InternalToggle () [0x00018] in :0 at UnityEngine.UI.Toggle.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00009] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00007] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x00063] in <b636d9e0114544e397ffcd4db921a597>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1) UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse(PointerEventData, GameObject) UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent() UnityEngine.EventSystems.StandaloneInputModule:Process() UnityEngine.EventSystems.EventSystem:Update()

(Filename: <2c2d62a9f21447d1beb3a2d10822c60e> Line: 0)

WebCamDevice Changed: HD Webcam: HD Webcam (/dev/video1) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Hello Test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Null (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Test 2 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at SceneDirector.ResetCamera (System.Nullable1[T] webCamDevice) [0x0002f] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at SceneDirector.ChangeWebCamDevice (System.Nullable1[T] webCamDevice) [0x00011] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at WebCamDeviceSelectorController.OnValueChanged (UnityEngine.UI.Dropdown dropdown) [0x00067] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at WebCamDeviceSelectorController+<>cDisplayClass2_0.b__0 (System.Int32 ) [0x00000] in <2c2d62a9f21447d1beb3a2d10822c60e>:0 at UnityEngine.Events.InvokableCall1[T1].Invoke (T1 args0) [0x00010] in <dcb71b7b9314453ca5039035c2e7ffe9>:0 at UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) [0x00025] in :0 at UnityEngine.UI.Dropdown.Set (System.Int32 value, System.Boolean sendCallback) [0x0004c] in :0 at UnityEngine.UI.Dropdown.set_value (System.Int32 value) [0x00000] in :0 at UnityEngine.UI.Dropdown.OnSelectItem (UnityEngine.UI.Toggle toggle) [0x0004a] in :0 at UnityEngine.UI.Dropdown+<>cDisplayClass62_0.b0 (System.Boolean x) [0x00011] in :0 at UnityEngine.Events.InvokableCall1[T1].Invoke (T1 args0) [0x00010] in <dcb71b7b9314453ca5039035c2e7ffe9>:0 at UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) [0x00025] in :0 at UnityEngine.UI.Toggle.Set (System.Boolean value, System.Boolean sendCallback) [0x0007a] in :0 at UnityEngine.UI.Toggle.set_isOn (System.Boolean value) [0x00000] in :0 at UnityEngine.UI.Dropdown.OnSelectItem (UnityEngine.UI.Toggle toggle) [0x00008] in :0 at UnityEngine.UI.Dropdown+<>c__DisplayClass62_0.b0 (System.Boolean x) [0x00011] in :0 at UnityEngine.Events.InvokableCall1[T1].Invoke (T1 args0) [0x00010] in <dcb71b7b9314453ca5039035c2e7ffe9>:0 at UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) [0x00025] in :0 at UnityEngine.UI.Toggle.Set (System.Boolean value, System.Boolean sendCallback) [0x0007a] in :0 at UnityEngine.UI.Toggle.set_isOn (System.Boolean value) [0x00000] in :0 at UnityEngine.UI.Toggle.InternalToggle () [0x00018] in :0 at UnityEngine.UI.Toggle.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00009] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00007] in :0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x00063] in <b636d9e0114544e397ffcd4db921a597>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1) UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse(PointerEventData, GameObject) UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent() UnityEngine.EventSystems.StandaloneInputModule:Process() UnityEngine.EventSystems.EventSystem:Update()

(Filename: <2c2d62a9f21447d1beb3a2d10822c60e> Line: 0)

Graph Changed: Hand Tracking (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Graph Changed: Iris Tracking (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Setting up 4 worker threads for Enlighten. Thread -> id: 7f8612ffe700 -> priority: 1 Thread -> id: 7f86127fd700 -> priority: 1 Thread -> id: 7f8611ffc700 -> priority: 1 Thread -> id: 7f86117fb700 -> priority: 1 Vulkan PSO: Inconsistent pipeline cache header size[0], newDataSize[11323]

Thanks for ur reply @homuler!!!

homuler commented 3 years ago

Is WebCamScreenController attached to WebCamScreen? Screenshot_20210521_182508-1

LeDuySon commented 3 years ago

Yes @homuler

Screenshot from 2021-05-21 16-48-20

homuler commented 3 years ago

I see.

Is the below line https://github.com/homuler/MediaPipeUnityPlugin/blob/8c171d0eb2d16140ea94511d3dd6c94cf3792804/Assets/Mediapipe/Samples/Scripts/SceneDirector.cs#L49

executed after the below line was executed? https://github.com/homuler/MediaPipeUnityPlugin/blob/8c171d0eb2d16140ea94511d3dd6c94cf3792804/Assets/Mediapipe/Samples/Scripts/SceneDirector.cs#L86

And I guess you downgraded this project. Does the sample app work with Unity 2020.3.8f1?

homuler commented 3 years ago

Will you test this branch? https://github.com/homuler/MediaPipeUnityPlugin/tree/fix/webcamscreen-null

LeDuySon commented 3 years ago

Will you test this branch? https://github.com/homuler/MediaPipeUnityPlugin/tree/fix/webcamscreen-null

I will test it.

I see.

Is the below line https://github.com/homuler/MediaPipeUnityPlugin/blob/8c171d0eb2d16140ea94511d3dd6c94cf3792804/Assets/Mediapipe/Samples/Scripts/SceneDirector.cs#L49

executed after the below line was executed? https://github.com/homuler/MediaPipeUnityPlugin/blob/8c171d0eb2d16140ea94511d3dd6c94cf3792804/Assets/Mediapipe/Samples/Scripts/SceneDirector.cs#L86

And I guess you downgraded this project. Does the sample app work with Unity 2020.3.8f1?

No, it works with 2019 version, should i update to your unity version or just pull that branch?

homuler commented 3 years ago

Will you check if

, please?

LeDuySon commented 3 years ago

Will you test this branch? https://github.com/homuler/MediaPipeUnityPlugin/tree/fix/webcamscreen-null

Its not work, here is Player.log

Mono path[0] = '/home/son/Work/mediapipe-unity/testHandtracking_Data/Managed' Mono config path = '/home/son/Work/mediapipe-unity/testHandtracking_Data/MonoBleedingEdge/etc' Preloaded 'libmediapipe_c.so' Display 0 '0': 1920x1080 (primary device). Desktop is 1920 x 1080 @ 60 Hz [Vulkan init] extensions: count=15 [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0 [Vulkan init] extensions: name=VK_KHR_display, enabled=1 [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0 [Vulkan init] extensions: name=VK_KHR_surface, enabled=1 [Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0 [Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1 [Vulkan init] extensions: name=VK_EXT_acquire_xlib_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0 [Vulkan init] extensions: name=VK_EXT_direct_mode_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_display_surface_counter, enabled=0 Vulkan detection: 2 Initialize engine version: 2019.4.0f1 (0af376155913) [Subsystems] Discovering subsystems at path /home/son/Work/mediapipe-unity/testHandtracking_Data/UnitySubsystems GfxDevice: creating device client; threaded=1 [Vulkan init] extensions: count=15 [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0 [Vulkan init] extensions: name=VK_KHR_display, enabled=1 [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0 [Vulkan init] extensions: name=VK_KHR_surface, enabled=1 [Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0 [Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1 [Vulkan init] extensions: name=VK_EXT_acquire_xlib_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0 [Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0 [Vulkan init] extensions: name=VK_EXT_direct_mode_display, enabled=0 [Vulkan init] extensions: name=VK_EXT_display_surface_counter, enabled=0 [Vulkan init] Graphics queue count=1 [Vulkan init] extensions: count=97 [Vulkan init] extensions: name=VK_KHR_16bit_storage, enabled=0 [Vulkan init] extensions: name=VK_KHR_8bit_storage, enabled=0 [Vulkan init] extensions: name=VK_KHR_bind_memory2, enabled=0 [Vulkan init] extensions: name=VK_KHR_buffer_device_address, enabled=0 [Vulkan init] extensions: name=VK_KHR_create_renderpass2, enabled=0 [Vulkan init] extensions: name=VK_KHR_dedicated_allocation, enabled=1 [Vulkan init] extensions: name=VK_KHR_depth_stencil_resolve, enabled=0 [Vulkan init] extensions: name=VK_KHR_descriptor_update_template, enabled=1 [Vulkan init] extensions: name=VK_KHR_device_group, enabled=0 [Vulkan init] extensions: name=VK_KHR_draw_indirect_count, enabled=0 [Vulkan init] extensions: name=VK_KHR_driver_properties, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_fence, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_fence_fd, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_memory_fd, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore, enabled=0 [Vulkan init] extensions: name=VK_KHR_external_semaphore_fd, enabled=0 [Vulkan init] extensions: name=VK_KHR_get_memory_requirements2, enabled=1 [Vulkan init] extensions: name=VK_KHR_image_format_list, enabled=1 [Vulkan init] extensions: name=VK_KHR_imageless_framebuffer, enabled=0 [Vulkan init] extensions: name=VK_KHR_maintenance1, enabled=1 [Vulkan init] extensions: name=VK_KHR_maintenance2, enabled=1 [Vulkan init] extensions: name=VK_KHR_maintenance3, enabled=0 [Vulkan init] extensions: name=VK_KHR_multiview, enabled=1 [Vulkan init] extensions: name=VK_KHR_pipeline_executable_properties, enabled=0 [Vulkan init] extensions: name=VK_KHR_push_descriptor, enabled=0 [Vulkan init] extensions: name=VK_KHR_relaxed_block_layout, enabled=0 [Vulkan init] extensions: name=VK_KHR_sampler_mirror_clamp_to_edge, enabled=1 [Vulkan init] extensions: name=VK_KHR_sampler_ycbcr_conversion, enabled=0 [Vulkan init] extensions: name=VK_KHR_separate_depth_stencil_layouts, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_atomic_int64, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_clock, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_draw_parameters, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_float16_int8, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_float_controls, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_non_semantic_info, enabled=0 [Vulkan init] extensions: name=VK_KHR_shader_subgroup_extended_types, enabled=0 [Vulkan init] extensions: name=VK_KHR_spirv_1_4, enabled=0 [Vulkan init] extensions: name=VK_KHR_storage_buffer_storage_class, enabled=0 [Vulkan init] extensions: name=VK_KHR_swapchain, enabled=1 [Vulkan init] extensions: name=VK_KHR_swapchain_mutable_format, enabled=0 [Vulkan init] extensions: name=VK_KHR_timeline_semaphore, enabled=0 [Vulkan init] extensions: name=VK_KHR_uniform_buffer_standard_layout, enabled=0 [Vulkan init] extensions: name=VK_KHR_variable_pointers, enabled=0 [Vulkan init] extensions: name=VK_KHR_vulkan_memory_model, enabled=0 [Vulkan init] extensions: name=VK_EXT_blend_operation_advanced, enabled=0 [Vulkan init] extensions: name=VK_EXT_buffer_device_address, enabled=0 [Vulkan init] extensions: name=VK_EXT_calibrated_timestamps, enabled=0 [Vulkan init] extensions: name=VK_EXT_conditional_rendering, enabled=0 [Vulkan init] extensions: name=VK_EXT_conservative_rasterization, enabled=0 [Vulkan init] extensions: name=VK_EXT_custom_border_color, enabled=0 [Vulkan init] extensions: name=VK_EXT_depth_clip_enable, enabled=0 [Vulkan init] extensions: name=VK_EXT_depth_range_unrestricted, enabled=0 [Vulkan init] extensions: name=VK_EXT_descriptor_indexing, enabled=0 [Vulkan init] extensions: name=VK_EXT_discard_rectangles, enabled=0 [Vulkan init] extensions: name=VK_EXT_display_control, enabled=0 [Vulkan init] extensions: name=VK_EXT_fragment_shader_interlock, enabled=0 [Vulkan init] extensions: name=VK_EXT_global_priority, enabled=0 [Vulkan init] extensions: name=VK_EXT_host_query_reset, enabled=0 [Vulkan init] extensions: name=VK_EXT_index_type_uint8, enabled=0 [Vulkan init] extensions: name=VK_EXT_inline_uniform_block, enabled=0 [Vulkan init] extensions: name=VK_EXT_line_rasterization, enabled=0 [Vulkan init] extensions: name=VK_EXT_memory_budget, enabled=0 [Vulkan init] extensions: name=VK_EXT_pci_bus_info, enabled=0 [Vulkan init] extensions: name=VK_EXT_pipeline_creation_feedback, enabled=0 [Vulkan init] extensions: name=VK_EXT_post_depth_coverage, enabled=0 [Vulkan init] extensions: name=VK_EXT_sample_locations, enabled=0 [Vulkan init] extensions: name=VK_EXT_sampler_filter_minmax, enabled=0 [Vulkan init] extensions: name=VK_EXT_scalar_block_layout, enabled=0 [Vulkan init] extensions: name=VK_EXT_separate_stencil_usage, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_demote_to_helper_invocation, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_subgroup_ballot, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_subgroup_vote, enabled=0 [Vulkan init] extensions: name=VK_EXT_shader_viewport_index_layer, enabled=0 [Vulkan init] extensions: name=VK_EXT_subgroup_size_control, enabled=0 [Vulkan init] extensions: name=VK_EXT_texel_buffer_alignment, enabled=0 [Vulkan init] extensions: name=VK_EXT_tooling_info, enabled=0 [Vulkan init] extensions: name=VK_EXT_transform_feedback, enabled=0 [Vulkan init] extensions: name=VK_EXT_vertex_attribute_divisor, enabled=0 [Vulkan init] extensions: name=VK_EXT_ycbcr_image_arrays, enabled=0 [Vulkan init] extensions: name=VK_NV_clip_space_w_scaling, enabled=0 [Vulkan init] extensions: name=VK_NV_coverage_reduction_mode, enabled=0 [Vulkan init] extensions: name=VK_NV_dedicated_allocation, enabled=0 [Vulkan init] extensions: name=VK_NV_dedicated_allocation_image_aliasing, enabled=0 [Vulkan init] extensions: name=VK_NV_device_diagnostic_checkpoints, enabled=0 [Vulkan init] extensions: name=VK_NV_device_diagnostics_config, enabled=0 [Vulkan init] extensions: name=VK_NV_fill_rectangle, enabled=0 [Vulkan init] extensions: name=VK_NV_fragment_coverage_to_color, enabled=0 [Vulkan init] extensions: name=VK_NV_framebuffer_mixed_samples, enabled=0 [Vulkan init] extensions: name=VK_NV_geometry_shader_passthrough, enabled=0 [Vulkan init] extensions: name=VK_NV_sample_mask_override_coverage, enabled=0 [Vulkan init] extensions: name=VK_NV_shader_sm_builtins, enabled=0 [Vulkan init] extensions: name=VK_NV_shader_subgroup_partitioned, enabled=0 [Vulkan init] extensions: name=VK_NV_viewport_array2, enabled=0 [Vulkan init] extensions: name=VK_NV_viewport_swizzle, enabled=0 [Vulkan init] extensions: name=VK_NVX_device_generated_commands, enabled=0 [Vulkan init] extensions: name=VK_NVX_multiview_per_view_attributes, enabled=0 Vulkan API version 1.1.0 (1.2.133 supported by driver) Vulkan vendor=[NVIDIA] id=[10de] Vulkan renderer=[GeForce GTX 1050 Ti] id=[1c8f] Vulkan device type 2 Vulkan driverversion=[0x709dc0c0] uint=[1889386688] Vulkan PSO: cache data not found [path=/tmp/DefaultCompany/MediaPipeUnityPlugin/vulkan_pso_cache.bin] Begin MonoManager ReloadAssembly

Camera 0: HD Webcam: HD Webcam (/dev/video0) (Filename: Line: 105)

Camera 1: HD Webcam: HD Webcam (/dev/video1) (Filename: Line: 105)

WebCamDevice Changed: HD Webcam: HD Webcam (/dev/video0) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Hello Test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (UnityEngine.GameObject) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Test 2 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (WebCamScreenController) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish testing (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamTexture Graphics Format: 88 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at DemoGraph.PrepareDependentAsset (System.String assetName, System.String uniqueKey, System.Boolean overwrite) [0x0000b] in :0 at DemoGraph.PrepareDependentAsset (System.String assetName, System.Boolean overwrite) [0x00000] in :0 at FaceDetectionGraph.PrepareDependentAssets () [0x00000] in :0 at DemoGraph.Initialize () [0x00000] in :0 at SceneDirector+d__24.MoveNext () [0x000f6] in :0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

(Filename: Line: 0)

WebCamDevice Changed: HD Webcam: HD Webcam (/dev/video1) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Hello Test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (UnityEngine.GameObject) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Test 2 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (WebCamScreenController) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish testing (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unable to set resolution 640 x 480 for HD Webcam: HD Webcam (/dev/video1) (Filename: Line: 301)

WebCamTexture Graphics Format: 88 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to initialize WebCamTexture (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamDevice is not working. Stopping... (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamDevice Changed: HD Webcam: HD Webcam (/dev/video0) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Hello Test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (UnityEngine.GameObject) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Test 2 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (WebCamScreenController) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish testing (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamTexture Graphics Format: 88 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at DemoGraph.PrepareDependentAsset (System.String assetName, System.String uniqueKey, System.Boolean overwrite) [0x0000b] in :0 at DemoGraph.PrepareDependentAsset (System.String assetName, System.Boolean overwrite) [0x00000] in :0 at FaceDetectionGraph.PrepareDependentAssets () [0x00000] in :0 at DemoGraph.Initialize () [0x00000] in :0 at SceneDirector+d__24.MoveNext () [0x000f6] in :0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

(Filename: Line: 0)

Graph Changed: Face Mesh (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at DemoGraph.PrepareDependentAsset (System.String assetName, System.String uniqueKey, System.Boolean overwrite) [0x0000b] in :0 at DemoGraph.PrepareDependentAsset (System.String assetName, System.Boolean overwrite) [0x00000] in :0 at FaceMeshGraph.PrepareDependentAssets () [0x00000] in :0 at DemoGraph.Initialize () [0x00000] in :0 at SceneDirector+d__24.MoveNext () [0x000f6] in :0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

(Filename: Line: 0)

Graph Changed: Iris Tracking (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at DemoGraph.PrepareDependentAsset (System.String assetName, System.String uniqueKey, System.Boolean overwrite) [0x0000b] in :0 at DemoGraph.PrepareDependentAsset (System.String assetName, System.Boolean overwrite) [0x00000] in :0 at IrisTrackingGraph.PrepareDependentAssets () [0x00000] in :0 at DemoGraph.Initialize () [0x00000] in :0 at SceneDirector+d__24.MoveNext () [0x000f6] in :0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

(Filename: Line: 0)

Graph Changed: Hand Tracking (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at DemoGraph.PrepareDependentAsset (System.String assetName, System.String uniqueKey, System.Boolean overwrite) [0x0000b] in :0 at DemoGraph.PrepareDependentAsset (System.String assetName, System.Boolean overwrite) [0x00000] in :0 at HandTrackingGraph.PrepareDependentAssets () [0x00000] in :0 at DemoGraph.Initialize () [0x00000] in :0 at SceneDirector+d__24.MoveNext () [0x000f6] in :0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

(Filename: Line: 0)

WebCamDevice Changed: HD Webcam: HD Webcam (/dev/video1) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Hello Test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (UnityEngine.GameObject) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Test 2 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (WebCamScreenController) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish testing (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unable to set resolution 640 x 480 for HD Webcam: HD Webcam (/dev/video1) (Filename: Line: 301)

WebCamTexture Graphics Format: 88 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to initialize WebCamTexture (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Waiting for a WebCamDevice (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamDevice is not working. Stopping... (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamDevice Changed: HD Webcam: HD Webcam (/dev/video0) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Hello Test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (UnityEngine.GameObject) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish test (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Test 2 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamScreen (WebCamScreenController) (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Finish testing (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

WebCamTexture Graphics Format: 88 (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object at DemoGraph.PrepareDependentAsset (System.String assetName, System.String uniqueKey, System.Boolean overwrite) [0x0000b] in :0 at DemoGraph.PrepareDependentAsset (System.String assetName, System.Boolean overwrite) [0x00000] in :0 at HandTrackingGraph.PrepareDependentAssets () [0x00000] in :0 at DemoGraph.Initialize () [0x00000] in :0 at SceneDirector+d__24.MoveNext () [0x000f6] in :0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

(Filename: Line: 0)

Setting up 4 worker threads for Enlighten. Thread -> id: 7fe37dff8700 -> priority: 1 Thread -> id: 7fe37d7f7700 -> priority: 1 Thread -> id: 7fe37cff6700 -> priority: 1 Thread -> id: 7fe373fff700 -> priority: 1 Vulkan PSO: Inconsistent pipeline cache header size[0], newDataSize[12052]

natalia-wz commented 3 years ago

Hi I've got a similar issue as mentioned in #190 , I'm using Docker for Ubuntu on Ubuntu 20.04, Unity 2020.3.8f1, this is output from the console when I hit play within the sample scene - let me know if you need the log file instead, thanks

Graph Changed: Face Detection UnityEngine.Debug:Log (object) GraphSelectorController:OnValueChanged (UnityEngine.UI.Dropdown) (at Assets/Mediapipe/Samples/Scripts/GraphSelectorController.cs:68) GraphSelectorController:InitializeOptions () (at Assets/Mediapipe/Samples/Scripts/GraphSelectorController.cs:55) GraphSelectorController:Start () (at Assets/Mediapipe/Samples/Scripts/GraphSelectorController.cs:30)

Camera 0: hm1091_techfront: hm1091_techfr (/dev/video0) UnityEngine.StackTraceUtility:ExtractStackTrace () WebCamDeviceSelectorController/d__2:MoveNext () (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:45) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Camera 1: hm1091_techfront: hm1091_techfr (/dev/video1) UnityEngine.StackTraceUtility:ExtractStackTrace () WebCamDeviceSelectorController/d__2:MoveNext () (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:45) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

WebCamDevice Changed: hm1091_techfront: hm1091_techfr (/dev/video0) UnityEngine.Debug:Log (object) WebCamDeviceSelectorController:OnValueChanged (UnityEngine.UI.Dropdown) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:61) WebCamDeviceSelectorController:ResetOptions (UnityEngine.WebCamDevice[]) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:56) WebCamDeviceSelectorController/d__2:MoveNext () (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:45) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

WebCamTexture Graphics Format: 88 UnityEngine.Debug:Log (object) WebCamScreenController/d16:MoveNext () (at Assets/Mediapipe/Samples/Scripts/WebCamScreenController.cs:54) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) SceneDirector:ResetCamera (System.Nullable1<UnityEngine.WebCamDevice>) (at Assets/Mediapipe/Samples/Scripts/SceneDirector.cs:86) SceneDirector:ChangeWebCamDevice (System.Nullable1) (at Assets/Mediapipe/Samples/Scripts/SceneDirector.cs:75) WebCamDeviceSelectorController:OnValueChanged (UnityEngine.UI.Dropdown) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:62) WebCamDeviceSelectorController:ResetOptions (UnityEngine.WebCamDevice[]) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:56) WebCamDeviceSelectorController/d2:MoveNext () (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:45) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

Here is the error:

MediaPipePluginException: Failed to call a native function (code=StandardError) Mediapipe.MpReturnCodeExtension.Assert (Mediapipe.MpReturnCode code) (at Packages/com.github.homuler.mediapipe/Runtime/Scripts/PInvoke/MpReturnCode.cs:22) Mediapipe.StatusOrGpuResources.Value () (at Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/Port/StatusOrGpuResources.cs:25) SceneDirector.SetupGpuResources () (at Assets/Mediapipe/Samples/Scripts/SceneDirector.cs:144) SceneDirector.StartGraph () (at Assets/Mediapipe/Samples/Scripts/SceneDirector.cs:115) SceneDirector.ChangeWebCamDevice (System.Nullable`1[T] webCamDevice) (at Assets/Mediapipe/Samples/Scripts/SceneDirector.cs:79) WebCamDeviceSelectorController.OnValueChanged (UnityEngine.UI.Dropdown dropdown) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:62) WebCamDeviceSelectorController.ResetOptions (UnityEngine.WebCamDevice[] devices) (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:56) WebCamDeviceSelectorController+d__2.MoveNext () (at Assets/Mediapipe/Samples/Scripts/WebCamDeviceSelectorController.cs:45) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

natalia-wz commented 3 years ago

@homuler let me know if I should open a fresh issue instead

homuler commented 3 years ago

@buka71 Please create a new issue and share your full logs. I think this issue does not occur with the specified Unity version (2020.3.8f1).

homuler commented 3 years ago

This issue does not occur with Unity 2020.3.8f1 and it seems that it isn't related to the main plugin code but the sample code only, so I close it.