Closed hybridherbst closed 6 months ago
Fixed in KTX for Unity 3.3.0! Please transition to that package, as it is the official successor.
KtxUnity.Editor
System.EntryPointNotFoundException
for symbols ktx_get_image_offset
and ktx_get_image_size
on Windows.
Currently, when compiling/building to some platforms, KtxUnity will error out:
This is not ideal; better would be that the platforms are explicitly unsupported but compilation would still work.
I tried setting the flags in the Runtime Ktx.asmdef:![image](https://user-images.githubusercontent.com/2693840/194085640-2e45a721-899f-4341-94e0-4ada834f7c0d.png)
But that brings follow-up errors in glTFast with it, so might not be as easy as that (there may be ifdefs needed in glTFast as well then).
To test compilation for all platforms, simply add https://openupm.com/packages/com.needle.compilation-visualizer to your project and put it into the testables in manifest.json, then run the editor tests seen in the screenshot above: