netpyoung / unity.webp

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

Inpractical CompilerServices.Unsafe dependency #49

Closed hybridherbst closed 2 years ago

hybridherbst commented 2 years ago

Hi, seems you're using the wrong dependency which is causing issues in our projects.

The better one would be org.nuget.system.runtime.compilerservices.unsafe@6.0.0 which is also available from OpenUPM (see here: https://openupm.com/nuget/)

Other packages also use the nuget dependency for maximum compatibility. Alternative: don't specify any dependency and let people choose which version of it they use. The problem is that you're currently depending on an entirely different package name.

Thanks!

netpyoung commented 2 years ago

Yeap. Your comment is reasonable. I will find to way to apply that. Thank you 👍

netpyoung commented 2 years ago

related: #46

netpyoung commented 2 years ago

As you mentioned, It started to use org.nuget.system.runtime.compilerservices.unsafe Thank you!

hybridherbst commented 2 years ago

Thank you!