netpyoung / unity.webp

:art: WebP made easy for Unity3d
https://netpyoung.github.io/unity.webp/
MIT License
237 stars 28 forks source link

Exception: Failed WebPDecode with error VP8_STATUS_UNSUPPORTED_FEATURE. #64

Open bigriverwu opened 4 months ago

bigriverwu commented 4 months ago

WebP import error with local file.

Donwloaded by image

Exception: Failed WebPDecode with error VP8_STATUS_UNSUPPORTED_FEATURE. WebP.Texture2DExt.LoadRGBAFromWebP (System.Byte[] lData, System.Int32& lWidth, System.Int32& lHeight, System.Boolean lMipmaps, WebP.Error& lError, WebP.Texture2DExt+ScalingFunction scalingFunction) (at ./Library/PackageCache/com.netpyoung.webp@17a9eb9c31/Runtime/Texture2DExt.cs:169) WebP.Texture2DExt.CreateTexture2DFromWebP (System.Byte[] lData, System.Boolean lMipmaps, System.Boolean lLinear, WebP.Error& lError, WebP.Texture2DExt+ScalingFunction scalingFunction, System.Boolean makeNoLongerReadable) (at ./Library/PackageCache/com.netpyoung.webp@17a9eb9c31/Runtime/Texture2DExt.cs:204) WebP.WebPImporter.OnImportAsset (UnityEditor.AssetImporters.AssetImportContext ctx) (at ./Library/PackageCache/com.netpyoung.webp@17a9eb9c31/Editor/WebPImporter.cs:32) UnityEditor.AssetImporters.ScriptedImporter.GenerateAssetData (UnityEditor.AssetImporters.AssetImportContext ctx) (at <87b1447e28034cee9e4ccb8c558044bc>:0) UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)