From c25fef8a5f7e16e40355773d4c4719a2d2e3f432 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Fri, 27 Sep 2024 21:48:09 +0800 Subject: [PATCH] fix EcsDebug._buffer warning in unity --- src/DebugUtils/EcsDebug.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DebugUtils/EcsDebug.cs b/src/DebugUtils/EcsDebug.cs index 4b14def..6828d5f 100644 --- a/src/DebugUtils/EcsDebug.cs +++ b/src/DebugUtils/EcsDebug.cs @@ -289,8 +289,10 @@ namespace DCFApixels.DragonECS } } private MarkerData[] _stopwatchs; +#if !UNITY_5_3_OR_NEWER [ThreadStatic] private static char[] _buffer; +#endif public DefaultDebugService() {