atteneder / ktxunitydemo Goto Github PK
View Code? Open in Web Editor NEWUnity project that demonstrates how to use the KtxUnity package.
License: Apache License 2.0
Unity project that demonstrates how to use the KtxUnity package.
License: Apache License 2.0
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)
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!
when i run the demo,i found i cant load .ktx file in streamAssets, the wrong log is follows:
Failed to load 'E:/KtxUnityDemo-master/KtxUnityDemo-master/Library/PackageCache/com.atteneder.ktx@7c3538efac/Runtime/Plugins/x86_64/ktx_unity.dll', expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.