From 4550ddb14e2252a772972a8262e879be60ca6020 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Sat, 31 Jan 2026 10:34:25 +0800 Subject: [PATCH] Bug fix (#8728) --- .../Services/CoreConfig/Singbox/SingboxRoutingService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2rayN/ServiceLib/Services/CoreConfig/Singbox/SingboxRoutingService.cs b/v2rayN/ServiceLib/Services/CoreConfig/Singbox/SingboxRoutingService.cs index 58bcaf99..d53f29f8 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/Singbox/SingboxRoutingService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/Singbox/SingboxRoutingService.cs @@ -281,7 +281,9 @@ public partial class CoreConfigSingboxService if (_config.TunModeItem.EnableTun && item.Process?.Count > 0) { var ruleProcName = JsonUtils.DeepCopy(rule3); + ruleProcName.process_name ??= []; var ruleProcPath = JsonUtils.DeepCopy(rule3); + ruleProcPath.process_path ??= []; foreach (var process in item.Process) { // sing-box doesn't support this, fall back to process name match