diff --git a/Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs b/Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs index 9c5ea00ae..f0ecf5502 100644 --- a/Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs +++ b/Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs @@ -11,6 +11,10 @@ using System.Threading.Tasks; using UnityEngine; +#if UNITY_ANDROID +using UnityEngine.Rendering; +#endif + using Stopwatch = System.Diagnostics.Stopwatch; namespace Mediapipe.Unity.Sample