diff --git a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Client/StreamingHubClientBase.cs b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Client/StreamingHubClientBase.cs index 1a27a431d..ac6c529d8 100644 --- a/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Client/StreamingHubClientBase.cs +++ b/src/MagicOnion.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Client/StreamingHubClientBase.cs @@ -223,7 +223,7 @@ void ConsumeData(SynchronizationContext syncContext, byte[] data) var detail = messagePackReader.ReadString(); var offset = (int)messagePackReader.Consumed; var rest = new ArraySegment(data, offset, data.Length - offset); - var error = Deserialize(rest); + var error = MessagePackSerializer.Deserialize(rest); var ex = default(RpcException); if (string.IsNullOrWhiteSpace(error)) { diff --git a/src/MagicOnion.Client/StreamingHubClientBase.cs b/src/MagicOnion.Client/StreamingHubClientBase.cs index 1a27a431d..ac6c529d8 100644 --- a/src/MagicOnion.Client/StreamingHubClientBase.cs +++ b/src/MagicOnion.Client/StreamingHubClientBase.cs @@ -223,7 +223,7 @@ void ConsumeData(SynchronizationContext syncContext, byte[] data) var detail = messagePackReader.ReadString(); var offset = (int)messagePackReader.Consumed; var rest = new ArraySegment(data, offset, data.Length - offset); - var error = Deserialize(rest); + var error = MessagePackSerializer.Deserialize(rest); var ex = default(RpcException); if (string.IsNullOrWhiteSpace(error)) {