-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KTX support #381
Comments
Hi @seyfeb, Do you mind sharing your It should be sufficient to install one package via the OpenUPM installer and add KTX via package manager. Don't know where you went off the rails. |
@seyfeb On another note: If you got as far as to the crash you reported in KtxUnity, then you had it installed successfully already. I suggest to install it the way you did before. Feel free to re-open if you still have troubles. |
Okay yeah that sounds sensible. I used the glTFast installer first and the KTXUnity installer afterwards. Each tried to install the scoped registry, which didn’t work out well ;) Interestingly when adding the KtxUnity package via the scoped URL, on the malformed gltf+KTX file it reports
while it works for the Avocado model encoded with a new version of gltfpack. So the message was just confusing since it probably has to do with atteneder/KtxUnity#52 |
@seyfeb That does not make sense. Either installation worked and it loads correctly (or crashes) or you get the message about missing extension. |
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). |
I 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
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 readsAre 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
The text was updated successfully, but these errors were encountered: