atteneder / KtxUnityDemo

Unity project that demonstrates how to use the KtxUnity package.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unknown architecture - DllNotFoundException: basisu

InfoMetaChef opened this issue · comments

After opening the project, it first errored with

Failed to load 'E:/Projects/BasisUniversalUnityDemo/Library/PackageCache/com.atteneder.basisu@af4709937211fff7559c97becfae2c06c72b122e/Runtime/Plugins/x86_64/basisu.dll', expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture.

This can be resolved by putting x86_64 to x86 under Platform Settigns > CPU, however it still errors with other things (these were present before fixing the first one as well)

DllNotFoundException: basisu
BasisUniversalUnity.BasisUniversal.InitInternal () (at Library/PackageCache/com.atteneder.basisu@af4709937211fff7559c97becfae2c06c72b122e/Runtime/Scripts/BasisUniversal.cs:61)
BasisUniversalUnity.BasisUniversal.GetTranscoderInstance () (at Library/PackageCache/com.atteneder.basisu@af4709937211fff7559c97becfae2c06c72b122e/Runtime/Scripts/BasisUniversal.cs:105)
BasisUniversalUnity.BasisUniversalTexture+<LoadBytesRoutine>d__7.MoveNext () (at Library/PackageCache/com.atteneder.basisu@af4709937211fff7559c97becfae2c06c72b122e/Runtime/Scripts/BasisUniversalTexture.cs:88)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <dfc62061cb3f4b1bb57c5179a5db6830>:0)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
BasisUniversalUnity.<LoadBasisFile>d__6:MoveNext() (at Library/PackageCache/com.atteneder.basisu@af4709937211fff7559c97becfae2c06c72b122e/Runtime/Scripts/BasisUniversalTexture.cs:78)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
DllNotFoundException: basisu
BasisUniversalUnity.BasisUniversal.GetTranscoderInstance () (at Library/PackageCache/com.atteneder.basisu@af4709937211fff7559c97becfae2c06c72b122e/Runtime/Scripts/BasisUniversal.cs:114)
BasisUniversalUnity.BasisUniversalTexture+<LoadBytesRoutine>d__7.MoveNext () (at Library/PackageCache/com.atteneder.basisu@af4709937211fff7559c97becfae2c06c72b122e/Runtime/Scripts/BasisUniversalTexture.cs:88)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <dfc62061cb3f4b1bb57c5179a5db6830>:0)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
BasisUniversalUnity.<LoadBasisFile>d__6:MoveNext() (at Library/PackageCache/com.atteneder.basisu@af4709937211fff7559c97becfae2c06c72b122e/Runtime/Scripts/BasisUniversalTexture.cs:78)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)