atteneder / KtxUnity

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

WebGL build fails on OSX #51

Closed ztffn closed 2 years ago

ztffn commented 2 years ago

Building Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.js failed with output: emcc2: error: Library/PackageCache/com.atteneder.ktx@3e688e857b/Runtime/Plugins/WebGL/libktx_unity.a: Unknown format, not a static library! UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

Removed the package and it built successfully. Unity 2021.2.7f1

atteneder commented 2 years ago

Hi @ztffn ,

Which version of KtxUnity are you using? Does it work in the Editor? How did you install the package?

atteneder commented 2 years ago

I assume it was not installed correctly because of missing GIT LFS pull.