diff --git a/com.unity.postprocessing/CHANGELOG.md b/com.unity.postprocessing/CHANGELOG.md index c07022d8276..3471a2fb693 100644 --- a/com.unity.postprocessing/CHANGELOG.md +++ b/com.unity.postprocessing/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Added Switch2 platform support ### Fixed -- +- Remove support for PVRTC format in Unity 6.1 or newer ## [3.4.0] - 2023-12-11 diff --git a/com.unity.postprocessing/PostProcessing/Runtime/Utils/TextureFormatUtilities.cs b/com.unity.postprocessing/PostProcessing/Runtime/Utils/TextureFormatUtilities.cs index fc92663d651..bec85d156e0 100644 --- a/com.unity.postprocessing/PostProcessing/Runtime/Utils/TextureFormatUtilities.cs +++ b/com.unity.postprocessing/PostProcessing/Runtime/Utils/TextureFormatUtilities.cs @@ -45,10 +45,12 @@ static TextureFormatUtilities() { (int)TextureFormat.DXT1Crunched, RenderTextureFormat.ARGB32 }, { (int)TextureFormat.DXT5Crunched, RenderTextureFormat.ARGB32 }, #endif + #if !UNITY_6000_1_OR_NEWER { (int)TextureFormat.PVRTC_RGB2, RenderTextureFormat.ARGB32 }, { (int)TextureFormat.PVRTC_RGBA2, RenderTextureFormat.ARGB32 }, { (int)TextureFormat.PVRTC_RGB4, RenderTextureFormat.ARGB32 }, { (int)TextureFormat.PVRTC_RGBA4, RenderTextureFormat.ARGB32 }, + #endif #if !UNITY_2018_1_OR_NEWER { (int)TextureFormat.ATC_RGB4, RenderTextureFormat.ARGB32 }, { (int)TextureFormat.ATC_RGBA8, RenderTextureFormat.ARGB32 },