From f4cf842105d1603f53fbd2b48edbdbc946f544c9 Mon Sep 17 00:00:00 2001 From: JosepMariaPujol Date: Tue, 24 Mar 2026 13:00:44 +0100 Subject: [PATCH 1/2] Adding [NonSerialized] to layouts --- .../InputSystem/Devices/Remote/InputRemoting.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Devices/Remote/InputRemoting.cs b/Packages/com.unity.inputsystem/InputSystem/Devices/Remote/InputRemoting.cs index 92d2080152..7d2b77d1ef 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Devices/Remote/InputRemoting.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Devices/Remote/InputRemoting.cs @@ -380,7 +380,7 @@ private enum Flags internal struct RemoteSender { public int senderId; - public InternedString[] layouts; // Each item is the unqualified name of the layout (without namespace) + [NonSerialized] public InternedString[] layouts; public RemoteInputDevice[] devices; } From 0c89ae0be5767d30904591670b574efc1d0d65cc Mon Sep 17 00:00:00 2001 From: JosepMariaPujol Date: Tue, 24 Mar 2026 13:10:43 +0100 Subject: [PATCH 2/2] Update InputRemoting.cs --- .../InputSystem/Devices/Remote/InputRemoting.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Devices/Remote/InputRemoting.cs b/Packages/com.unity.inputsystem/InputSystem/Devices/Remote/InputRemoting.cs index 7d2b77d1ef..2d4ecb5eb9 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Devices/Remote/InputRemoting.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Devices/Remote/InputRemoting.cs @@ -380,7 +380,7 @@ private enum Flags internal struct RemoteSender { public int senderId; - [NonSerialized] public InternedString[] layouts; + [NonSerialized] public InternedString[] layouts; // Each item is the unqualified name of the layout (without namespace) public RemoteInputDevice[] devices; }