From 3664f26d65498621b82581518f97ad3a7e1a2d10 Mon Sep 17 00:00:00 2001 From: vis2k Date: Sun, 25 Sep 2022 13:19:44 +0700 Subject: [PATCH] Read: error message improved --- Assets/Mirror/Core/NetworkReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Core/NetworkReader.cs b/Assets/Mirror/Core/NetworkReader.cs index e9ae1e19c..f1d1d1b56 100644 --- a/Assets/Mirror/Core/NetworkReader.cs +++ b/Assets/Mirror/Core/NetworkReader.cs @@ -187,7 +187,7 @@ public T Read() Func readerDelegate = Reader.read; if (readerDelegate == null) { - Debug.LogError($"No reader found for {typeof(T)}. Use a type supported by Mirror or define a custom reader"); + Debug.LogError($"No reader found for {typeof(T)}. Use a type supported by Mirror or define a custom reader extension for {typeof(T)}."); return default; } return readerDelegate(this);