Cocos Creator v3.8.6 break ASTC texture compression

Hello.

Link to the commit: github(.)com/cocos/cocos-engine/pull/18189 (sorry, but I’m not allowed to post links)

Unfortunately upgrade maxKnownFeatureSet break compatibility. Just try to run on the real device iOS build with enabled texture compression (we are using ASTC for iOS) and you will get the error on the real devices:

00:31:58 [ERROR]: JS: Error 3300, please go to https://github.com/cocos/cocos-engine/blob/3.8.6/EngineErrorMap.md#3300 to see details. Arguments: icon/, 588, 0
00:31:58 [ERROR]: [ERROR] file /Applications/Cocos/Creator/3.8.6/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm: line 904 
00:31:58 [ERROR]: Sampler binding cc_spriteTexture at set 2 binding 12 is not bounded.
-[MTLDebugRenderCommandEncoder validateCommonDrawErrors:]:5779: failed assertion `Draw Errors Validation
Fragment Function(main0): missing sampler binding at index 0 for cc_spriteTextureSmplr[0].

To fix, just revert to the: maxKnownFeatureSet = MTLFeatureSet_iOS_GPUFamily4_v2;

Could you provide the demo for us to check?

Please have a try for link:revert maxKnownFeatureSet on iOS 12.0 by star-e · Pull Request #18617 · cocos/cocos-engine · GitHub