atteneder / KtxUnity

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

Building for Magic Leap/Lumin, no definition for 'INTERFACE_DLL' #41

Closed zharry closed 3 years ago

zharry commented 3 years ago

When building for the Magic Leap/Lumin platform, I'm getting this error (along with a bunch of similar ones):

Library\PackageCache\com.atteneder.ktx@1.0.0\Runtime\Scripts\KtxNativeInstance.cs(240,20): error CS0103: The name 'INTERFACE_DLL' does not exist in the current context

From KtxNativeInstance.cs, there is no definition for UNITY_LUMIN, so the string INTERFACE_DLL was never created for this platform.

Similar issue for DracoUnity package: https://github.com/atteneder/DracoUnity/issues/23