KTX support
See original GitHub issueI tried to load a file with KTX textures. To this end, I installed (as documented in the main README) in a clean Unity 2021.2.25f1 project:
-
glTFast via the Installer Package
-
KTX/Basis Texture Unity Package via giturl. I tried the installer Package first but there were errors about scoped registries
Scoped registry at position 2 is invalid: "scopedRegistries[1].scopes" must contain at least 1 items. No packages loaded.
so I threw out the second one in the manifest.json and decided to quickly install the package via giturl (https://github.com/atteneder/KtxUnity.git), which worked fine.
Then I added the file shared here: https://github.com/KhronosGroup/glTF/issues/1750#issuecomment-580097079
which I expected to import successfully but on the asset properties in Unity’s Inspector window it reads
KtxUnity package needs to be installed in order to support glTF extension KHR_extension_basisu!
See https://github.com/atteneder/glTFast#installing for instructions
Are there any additional steps, packages, or something else required that I am missing? Sorry, if I’m overlooking something obvious here!
Files
https://github.com/KhronosGroup/glTF/files/4132437/Avocado.zip
Desktop
- glTFast version 4.6.0
- KTX/Basis Texture 2.0.1
- Unity Editor version 2021.2.25f1
- Platform: Editor
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Sorry, you’re right. I had to reimport the Asset for the Editor to be crashing again. The message that the package needs to be installed does not get dismissed since importing is not possible (only with a crash, which retains the message).
@seyfeb That does not make sense. Either installation worked and it loads correctly (or crashes) or you get the message about missing extension.