Skip to content

[Unity] Bug: vscode debug时 编辑器崩溃 #2286

@37wjy

Description

@37wjy

前置阅读 | Pre-reading

Puer的版本 | Puer Version

3.0.0

Unity的版本 | Unity Version

2022.3.62

发生在哪个平台 | Platform

Editor(mac)

错误信息 | Error Message

Identifier:          com.unity3d.UnityEditor5.x
Version:             Unity version 2022.3.62f2 (2022.3.62f2)
Code Type:           ARM-64 (Native)
Role:                Background
Parent Process:      Unity Hub [38700]
Coalition:           com.unity3d.unityhub [40074]
Responsible Process: Unity Hub [38700]
User ID:             501

Date/Time:           2026-01-30 11:33:32.5056 +0800
Launch Time:         2026-01-29 17:15:15.8048 +0800
Hardware Model:      MacBookPro18,3
OS Version:          macOS 26.2 (25C56)
Release Type:        User

Crash Reporter Key:  9B005F6F-1A9E-27AF-8653-F3C2D113C968
Incident Identifier: 019817AA-EC04-4D2D-9D85-B314883D0A06

Sleep/Wake UUID:       B6F9D0AB-306D-476F-83EB-B72DCB2108C5

Time Awake Since Boot: 1400000 seconds

System Integrity Protection: enabled

Triggered by Thread: 0  tid_103, Dispatch Queue: com.apple.main-thread

Exception Type:    EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000039217ca80
Exception Codes:   0x0000000000000001, 0x000000039217ca80

Termination Reason:  Namespace SIGNAL, Code 11, Segmentation fault: 11
Terminating Process: Unity [92471]


VM Region Info: 0x39217ca80 is not in any region.  Bytes after previous region: 21351041  Bytes before following region: 2438528
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      VM_ALLOCATE                 390c94000-390d20000    [  560K] rw-/rwx SM=COW  
--->  GAP OF 0x16b0000 BYTES
      VM_ALLOCATE                 3923d0000-392410000    [  256K] rw-/rwx SM=COW  

Thread 0 Crashed:: tid_103 Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1982a6fcc __kill + 8
1   libmonobdwgc-2.0.dylib        	       0x170a02224 mono_chain_signal + 104
2   libmonobdwgc-2.0.dylib        	       0x17094da98 mono_sigsegv_signal_handler_debug + 548
3   libsystem_platform.dylib      	       0x1982eb744 _sigtramp + 56
4   libmonobdwgc-2.0.dylib        	       0x170b3e738 mono_dump_mem + 132
5   libmonobdwgc-2.0.dylib        	       0x170a03160 mono_dump_native_crash_info + 564
6   libmonobdwgc-2.0.dylib        	       0x1709c531c mono_handle_native_crash + 308
7   libmonobdwgc-2.0.dylib        	       0x17094da78 mono_sigsegv_signal_handler_debug + 516
8   libsystem_platform.dylib      	       0x1982eb744 _sigtramp + 56
9   PuertsCore.bundle             	       0x158d55e14 puerts::PLog(puerts::LogLevel, char const*, ...) + 132
10  PapiV8.bundle                 	       0x35f2c973c puerts::V8InspectorClientImpl::OnHTTP(std::__1::weak_ptr<void>) + 348
11  PapiV8.bundle                 	       0x35f2cd168 std::__1::__function::__func<std::__1::__bind<void (puerts::V8InspectorClientImpl::*)(std::__1::weak_ptr<void>), puerts::V8InspectorClientImpl*, std::__1::placeholders::__ph<1> const&>, std::__1::allocator<std::__1::__bind<void (puerts::V8InspectorClientImpl::*)(std::__1::weak_ptr<void>), puerts::V8InspectorClientImpl*, std::__1::placeholders::__ph<1> const&>>, void (std::__1::weak_ptr<void>)>::operator()(std::__1::weak_ptr<void>&&) + 60
12  PapiV8.bundle                 	       0x35f2fb018 websocketpp::connection<websocketpp::config::asio>::process_handshake_request() + 480
13  PapiV8.bundle                 	       0x35f2fa090 websocketpp::connection<websocketpp::config::asio>::handle_read_handshake(std::__1::error_code const&, unsigned long) + 1652
14  PapiV8.bundle                 	       0x35f2e67e8 websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::handle_async_read(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long) + 304
15  PapiV8.bundle                 	       0x35f2e4a04 <deduplicated_symbol> + 176
16  PapiV8.bundle                 	       0x35f2e88e0 void puerts_asio::detail::strand_service::dispatch<puerts_asio::detail::binder2<websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, std::__1::error_code, unsigned long>>(puerts_asio::detail::strand_service::strand_impl*&, puerts_asio::detail::binder2<websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, std::__1::error_code, unsigned long>&) + 100
17  PapiV8.bundle                 	       0x35f2e6b6c void puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>::operator()<std::__1::error_code, unsigned long>(std::__1::error_code const&, unsigned long const&) + 192
18  PapiV8.bundle                 	       0x35f2e79bc puerts_asio::detail::completion_handler<puerts_asio::detail::rewrapped_handler<puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>>, puerts_asio::io_context::basic_executor_type<std::__1::allocator<void>, 0u>>::do_complete(void*, puerts_asio::detail::scheduler_operation*, std::__1::error_code const&, unsigned long) + 148
19  PapiV8.bundle                 	       0x35f2dd160 puerts_asio::detail::strand_service::do_dispatch(puerts_asio::detail::strand_service::strand_impl*&, puerts_asio::detail::scheduler_operation*) + 380
20  PapiV8.bundle                 	       0x35f2e78c8 void puerts_asio::detail::strand_service::dispatch<puerts_asio::detail::rewrapped_handler<puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>>>(puerts_asio::detail::strand_service::strand_impl*&, puerts_asio::detail::rewrapped_handler<puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>>&) + 332
21  PapiV8.bundle                 	       0x35f2e756c void puerts_asio::detail::asio_handler_invoke<puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>, puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>(puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>&, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>*) + 76
22  PapiV8.bundle                 	       0x35f2e84c4 void puerts_asio::detail::executor_function::complete<puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>, std::__1::allocator<void>>(puerts_asio::detail::executor_function::impl_base*, bool) + 244
23  PapiV8.bundle                 	       0x35f2d1be4 <deduplicated_symbol> + 124
24  PapiV8.bundle                 	       0x35f2e8060 void puerts_asio::execution::detail::any_executor_base::execute<puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>>(puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>&&) const + 324
25  PapiV8.bundle                 	       0x35f2e74a4 void puerts_asio::detail::handler_work_base<puerts_asio::any_io_executor, void, puerts_asio::io_context, puerts_asio::executor, void>::dispatch<puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>, puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>>(puerts_asio::detail::binder2<puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, std::__1::error_code, unsigned long>&, puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>&) + 176
26  PapiV8.bundle                 	       0x35f2e717c puerts_asio::detail::reactive_socket_recv_op<puerts_asio::mutable_buffers_1, puerts_asio::detail::read_op<puerts_asio::basic_stream_socket<puerts_asio::ip::tcp, puerts_asio::any_io_executor>, puerts_asio::mutable_buffers_1, puerts_asio::mutable_buffer const*, puerts_asio::detail::transfer_at_least_t, puerts_asio::detail::wrapped_handler<puerts_asio::io_context::strand, websocketpp::transport::puerts_asio::custom_alloc_handler<std::__1::__bind<void (websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>::*)(std::__1::function<void (std::__1::error_code const&, unsigned long)>, std::__1::error_code const&, unsigned long), std::__1::shared_ptr<websocketpp::transport::puerts_asio::connection<websocketpp::config::asio::transport_config>>, std::__1::function<void (std::__1::error_code const&, unsigned long)>&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>>, puerts_asio::detail::is_continuation_if_running>>, puerts_asio::any_io_executor>::do_complete(void*, puerts_asio::detail::scheduler_operation*, std::__1::error_code const&, unsigned long) + 488
27  PapiV8.bundle                 	       0x35f30da50 puerts_asio::detail::scheduler::do_poll_one(puerts_asio::detail::conditionally_enabled_mutex::scoped_lock&, puerts_asio::detail::scheduler_thread_info&, std::__1::error_code const&) + 644
28  PapiV8.bundle                 	       0x35f30d64c puerts_asio::detail::scheduler::poll(std::__1::error_code&) + 380
29  PapiV8.bundle                 	       0x35f2caacc websocketpp::transport::puerts_asio::endpoint<websocketpp::config::asio::transport_config>::poll() + 44
30  PapiV8.bundle                 	       0x35f2ca90c puerts::V8InspectorClientImpl::Tick(float) + 44
31  PapiV8.bundle                 	       0x35f2cab58 puerts::V8InspectorClientImpl::Tick() + 20
32  PapiV8.bundle                 	       0x35f2c6368 InspectorTick + 16
33  ???                           	       0x39e6683bc ???
34  ???                           	       0x39e668278 ???
35  ???                           	       0x39e6669e0 ???
36  ???                           	       0x39e6668dc ???
37  ???                           	       0x39d72c1dc ???
38  libmonobdwgc-2.0.dylib        	       0x170950d38 mono_jit_runtime_invoke + 1924
39  libmonobdwgc-2.0.dylib        	       0x170ad721c do_runtime_invoke + 104
40  libmonobdwgc-2.0.dylib        	       0x170ad713c mono_runtime_invoke + 100
41  Unity                         	       0x1034b3068 scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool) + 88
42  Unity                         	       0x10348d5a8 ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) + 164
43  Unity                         	       0x10344d468 MonoBehaviour::CallMethodIfAvailable(int) + 320
44  Unity                         	       0x10344d314 MonoBehaviour::CallUpdateMethod(int) + 240
45  Unity                         	       0x102ea1608 void BaseBehaviourManager::CommonUpdate<BehaviourManager>() + 440
46  Unity                         	       0x102ea1400 BehaviourManager::Update() + 36
47  Unity                         	       0x1030dc7ac InitPlayerLoopCallbacks()::UpdateScriptRunBehaviourUpdateRegistrator::Forward() + 64
48  Unity                         	       0x1030c34e4 ExecutePlayerLoop(NativePlayerLoopSystem*) + 228
49  Unity                         	       0x1030c3518 ExecutePlayerLoop(NativePlayerLoopSystem*) + 280
50  Unity                         	       0x1030c3914 PlayerLoop() + 452
51  Unity                         	       0x1040856fc EditorPlayerLoop::Execute() + 40
52  Unity                         	       0x104085ee8 PlayerLoopController::InternalUpdateScene(bool, bool) + 520
53  Unity                         	       0x10407e220 PlayerLoopController::UpdateSceneIfNeededFromMainLoop() + 92
54  Unity                         	       0x10407b690 Application::TickTimer() + 4108
55  Unity                         	       0x1053585dc -[EditorApplication TickTimer] + 312
56  Foundation                    	       0x199bb4d0c __NSFireTimer + 104
57  CoreFoundation                	       0x19838f18c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
58  CoreFoundation                	       0x19838ee4c __CFRunLoopDoTimer + 980
59  CoreFoundation                	       0x19838e9c4 __CFRunLoopDoTimers + 280
60  CoreFoundation                	       0x19837f76c __CFRunLoopRun + 1816
61  CoreFoundation                	       0x198439e34 _CFRunLoopRunSpecificWithOptions + 532
62  HIToolbox                     	       0x1a4e6f790 RunCurrentEventLoopInMode + 316
63  HIToolbox                     	       0x1a4e72ab8 ReceiveNextEventCommon + 488
64  HIToolbox                     	       0x1a4ffcb64 _BlockUntilNextEventMatchingListInMode + 48
65  AppKit                        	       0x19cc98b5c _DPSBlockUntilNextEventMatchingListInMode + 236
66  AppKit                        	       0x19c792e48 _DPSNextEvent + 588
67  AppKit                        	       0x19d25dd0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
68  AppKit                        	       0x19d25da18 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72
69  Unity                         	       0x105358460 -[EditorApplication checkForFocusChange:] + 64
70  Foundation                    	       0x199bb4d0c __NSFireTimer + 104
71  CoreFoundation                	       0x19838f18c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
72  CoreFoundation                	       0x19838ee4c __CFRunLoopDoTimer + 980
73  CoreFoundation                	       0x19838e9c4 __CFRunLoopDoTimers + 280
74  CoreFoundation                	       0x19837f76c __CFRunLoopRun + 1816
75  CoreFoundation                	       0x198439e34 _CFRunLoopRunSpecificWithOptions + 532
76  HIToolbox                     	       0x1a4e6f790 RunCurrentEventLoopInMode + 316
77  HIToolbox                     	       0x1a4e72ab8 ReceiveNextEventCommon + 488
78  HIToolbox                     	       0x1a4ffcb64 _BlockUntilNextEventMatchingListInMode + 48
79  AppKit                        	       0x19cc98b5c _DPSBlockUntilNextEventMatchingListInMode + 236
80  AppKit                        	       0x19c792e48 _DPSNextEvent + 588
81  AppKit                        	       0x19d25dd0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
82  AppKit                        	       0x19d25da18 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72
83  AppKit                        	       0x19c78b780 -[NSApplication run] + 368
84  AppKit                        	       0x19c7776dc NSApplicationMain + 880
85  Unity                         	       0x105370928 EditorMain(int, char const**) + 840
86  Unity                         	       0x105370c54 main + 12
87  dyld                          	       0x197f19d54 start + 7184

问题重现 | Bug reproduce

await env.WaitDebuggerAsync().AsUniTask().TimeoutWithoutException(TimeSpan.FromSeconds(10));

在这一步使用vscode debug连接, 连上就崩溃, 偶发性事件.

Metadata

Metadata

Assignees

Labels

UnitybugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions