atteneder / KtxUnity

Load KTX and Basis Universal textures at runtime
Apache License 2.0
215 stars 42 forks source link

Unable to Load ktx2 textures at run time in unity iOS editor #62

Closed hggz closed 2 years ago

hggz commented 2 years ago

Hey all, I'm trying to load my ktx2 textures using the async samples provided, from within the Unity Editor which is set to use the iOS player. Every time I do those it fails with an exception: EntryPointNotFound Is this not possible? Should I be using another configuration? The assemblies for ktunity and ktunity.editor are added. I'm on unity 2019.3.1 also. Thanks!

atteneder commented 2 years ago

Hi @hggz ,

Are you using this project (KtxUnityDemo) actually?

How exactly did you install the KtxUnity package?

hggz commented 2 years ago

Hi @hggz ,

Are you using this project (KtxUnityDemo) actually?

How exactly did you install the KtxUnity package?

I used the installer package which added a scoped repository and then imported the package from there. All the symbols worked / compiled but when it came time to run the editor with the iOS player set as the build target, it kept giving me the EntryPointNotFound exception following the same methodology in the demo

atteneder commented 2 years ago

Could not reproduce with Unity 2021.3.4 and KtxUnity 2.1.2. Trying 2019.4.40 now

atteneder commented 2 years ago

Also works with 2019.4.40 and KtxUnity 1.2.3.

Usually this error appears when folks install the package via GIT URL and don't use GIT LFS. Please make sure that it is installed correctly, re-test, re-open and provide more info (maybe a test project) in case it still does not work.