atteneder / KtxUnity

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

can not use in android x86? #71

Closed iamnewaplayer closed 1 year ago

iamnewaplayer commented 1 year ago

i get a log Unable to load DLL 'ktx_unity'. Tried the load the follwing dynamic libraries:Unable to load dynamic library 'ktx_unity' because of 'Failed to open the requested dynamic lib'

atteneder commented 1 year ago

Hi,

Thanks for reporting. x86 binaries are not included in this package. IIRC the reason was that there aren't many devices with that architecture. What's your use case?

iamnewaplayer commented 1 year ago

just test

iamnewaplayer commented 1 year ago

i hava a z8550 android pad can not run my app with ktxunity

atteneder commented 1 year ago

The decision to ditch Android x86 was based on this answer, IIRC. Sorry to tell you I won't change that.

What you can do though is compile the native library yourself. The source is available and the Android specific CMake configuration I used can be read in its GitHub action workflow.

Thanks for your understanding.