question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:

  1. glTFast via the Installer Package

  2. 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:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
seyfebcommented, Apr 8, 2022

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).

0reactions
attenedercommented, Apr 8, 2022

@seyfeb That does not make sense. Either installation worked and it loads correctly (or crashes) or you get the message about missing extension.

Read more comments on GitHub >

github_iconTop Results From Across the Web

KTX Overview
KTX 2.0 adds support for Basis Universal supercompressed GPU textures. Developed by Binomial, this compression technology produces compact textures that can ...
Read more >
Android KTX | Kotlin
Play Core KTX adds support for Kotlin coroutines for one-shot requests and Flow for monitoring status updates by adding extension functions to ...
Read more >
KTX (Khronos Texture) Library and Tools
Contained textures can be in a Basis Universal format, in any of the block-compressed formats supported by OpenGL family and Vulkan APIs and...
Read more >
Help
Welcome to KTX Help & Support. FREQUENTLY ASKED QUESTIONS. Please refer to our FAQs first before contacting us, you can normally find the...
Read more >
core/ktx - platform/frameworks/support
android / platform / frameworks / support / android-room-release / . / core / ktx. tree: 22ec02f47aeb6e440e3fe78b4b1151d4edd4f5dd [path history] [tgz].
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found