USDZ exporter bug if using .ktx2 compressed textures

Hi! I think a bug has been introduced starting with 9.3.3 and this update to the usdz exporter. USDZ: allow texture export under NullEngine by arek-3d · Pull Request #18296 · BabylonJS/Babylon.js · GitHub

When exporting a model using a material with a .ktx2 texture, the texture will be missing. I have prepared a playground that demos this. https://playground.babylonjs.com/#5N3RWK#30

The download get be checked with an usdz viewer , Blender or the playground can be run on an iOS device and the asset opened.

If, however, the playground is run on a previous version (8.56.2 is possible in the playground, but 9.3.1 is the last to work), there are no issues with the export.

cc @RaananW

Please advise,

cc @alexchuber

Taking a look now, thanks for the report.

PR: Fix USDZ export for cached unsupported texture formats by alexchuber · Pull Request #18559 · BabylonJS/Babylon.js · GitHub

Working playground: https://playground.babylonjs.com/?snapshot=refs/pull/18559/merge#5N3RWK#30