netpyoung/unity.webp

The name 'Unsafe' does not exist in the current context

strangeways-dev opened this issue · 1 comments

After importing the package I received this error in the console

Assets\unity.webp\Runtime\NativeLibwebpdemux.cs(141,17): error CS0103: The name 'Unsafe' does not exist in the current context

There is no documentation explaining how to fix this,
any help would be appreciated,
thank you

I figured it out. I hadn't installed it properly, follow the instructions on the page I have shared if you had the same problem.

https://openupm.com/packages/com.netpyoung.webp/?subPage=meta

Thank you for the awesome package!