How to load a GLTF that uses KTX2 textures? Getting error: setKTX2Loader must be called before loading KTX2 textures

setKTX2Loader is a method and not a property – you’ll want to do this:

loader.setKTX2Loader(this.ktx2Loader);

The webgl / loaders / gltf / compressed example is a good reference as well.