diff --git a/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs b/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs index 314730b4a78..41373d426e9 100644 --- a/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs +++ b/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs @@ -868,9 +868,13 @@ public static bool isWebNonWebGPU { #if UNITY_EDITOR #if UNITY_WEBGL + #if UNITY_2023_2_OR_NEWER return PlayerSettings.GetGraphicsAPIs(BuildTarget.WebGL)[0] != GraphicsDeviceType.WebGPU; + #else + return true; + #endif #else - return false; + return false; #endif #else return Application.platform == RuntimePlatform.WebGLPlayer