Cysharp / MemoryPack

Zero encoding extreme performance binary serializer for C# and Unity.
MIT License
3.29k stars 193 forks source link

Confusing wording in the README.md #205

Closed AldeRoberge closed 7 months ago

AldeRoberge commented 10 months ago

"Unity version's MemoryPack does not compatible with .NET MemoryPack in NuGet so can't do creating netstandard 2.1 dll in .NET and use in Unity."

I wanted to contribute to fixing some typos in the readme, but I'm not even sure to know what to make of this sentence

laicasaane commented 10 months ago

The version of MemoryPack that can be used in Unity and the version distributed on NuGet are not compatible with each other. So .dlls produced from a standard csproject targetting "netstandard 2.1" cannot be used within Unity environment. Instead, one can just put the source code directly into Unity.

I hope my explanation makes sense to you.

hadashiA commented 7 months ago

Hello. MemoryPack's Unity support will be changed to dll distribution via NuGetForUnity instead of source code packages. Therefore, the incompatibility mentioned here is likely to be resolved. The README is also expected to be corrected in the next release. Thanks!