atteneder / KtxUnity

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

Macbook pro m1 pro Unknown format, not a static library! #74

Closed Ra1n18 closed 1 year ago

Ra1n18 commented 1 year ago

Building Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.js failed with output: emcc: error: Library/PackageCache/com.atteneder.ktx@a3d6d62eea/Runtime/Plugins/WebGL/libktx_unity.a: Unknown format, not a static library! I tried on PC and macbook pro 2019 they are building just fine

atteneder commented 1 year ago

KtxUnity version? How did you install it (from what source)? Unity version?

Ra1n18 commented 1 year ago

If you cloned it from GitHub (or downloaded a ZIP), make sure the binaries are properly fetched (since they are GIT LFS files). this answer helps me unity version 2022.1.23f1

Ra1n18 commented 1 year ago

I have done it with openupm and it fixed my problem