Cysharp / MemoryPack

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

Can't Install With githubUrl in Unity #290

Open lemonip opened 2 months ago

lemonip commented 2 months ago
  1. I used unity ver 2023.2.1f1

  2. Install package from this Git Url https://github.com/Cysharp/MemoryPack.git?path=src/MemoryPack.Unity/Assets/MemoryPack.Unity t1

  3. Get error message t2

  4. Get Unsafe And Complie t3

  5. Still Get Same Error Message.

neuecc commented 2 months ago

Are you installed Core library from NuGet?

lemonip commented 2 months ago

I'm using visual studio. If you're asking me to install the nugget package on the IDE, I've never done it. Is it correct to ask for these installations? Install NuGet Packages in Visual Studio, VS Code, and Rider | General Information | DevExpress Documentation https://docs.devexpress.com/GeneralInformation/116698/nuget/setup-visual-studios-nuget-package-manager

2024년 5월 8일 (수) 오후 6:33, Yoshifumi Kawai @.***>님이 작성:

Are you installed Core library from NuGet?

— Reply to this email directly, view it on GitHub https://github.com/Cysharp/MemoryPack/issues/290#issuecomment-2100167508, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJXP2TAHEJ5DYPNFJW46FLZBHWP3AVCNFSM6AAAAABHKL6NEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGE3DONJQHA . You are receiving this because you authored the thread.Message ID: @.***>

lemonip commented 2 months ago

GlitchEnzo/NuGetForUnity: A NuGet Package Manager for Unity (github.com) https://github.com/GlitchEnzo/NuGetForUnity I also installed the memory pack core in nugget in Unity, but it didn't work.

2024년 5월 9일 (목) 오후 11:26, ip lemon @.***>님이 작성:

I'm using visual studio. If you're asking me to install the nugget package on the IDE, I've never done it. Is it correct to ask for these installations? Install NuGet Packages in Visual Studio, VS Code, and Rider | General Information | DevExpress Documentation https://docs.devexpress.com/GeneralInformation/116698/nuget/setup-visual-studios-nuget-package-manager

2024년 5월 8일 (수) 오후 6:33, Yoshifumi Kawai @.***>님이 작성:

Are you installed Core library from NuGet?

— Reply to this email directly, view it on GitHub https://github.com/Cysharp/MemoryPack/issues/290#issuecomment-2100167508, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJXP2TAHEJ5DYPNFJW46FLZBHWP3AVCNFSM6AAAAABHKL6NEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGE3DONJQHA . You are receiving this because you authored the thread.Message ID: @.***>

lemonip commented 2 months ago

When installed with nugget, these error messages are output to the console.

Assembly 'Assets/Packages/MemoryPack.Generator.1.21.1/analyzers/dotnet/cs/MemoryPack.Generator.dll' will not be loaded due to errors: Unable to resolve reference 'Microsoft.CodeAnalysis'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector. Unable to resolve reference 'Microsoft.CodeAnalysis.CSharp'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector.

So I tried to install it with git, and the result is what I inquired about. Different error messages are output.

2024년 5월 9일 (목) 오후 11:28, ip lemon @.***>님이 작성:

GlitchEnzo/NuGetForUnity: A NuGet Package Manager for Unity (github.com) https://github.com/GlitchEnzo/NuGetForUnity I also installed the memory pack core in nugget in Unity, but it didn't work.

2024년 5월 9일 (목) 오후 11:26, ip lemon @.***>님이 작성:

I'm using visual studio. If you're asking me to install the nugget package on the IDE, I've never done it. Is it correct to ask for these installations? Install NuGet Packages in Visual Studio, VS Code, and Rider | General Information | DevExpress Documentation https://docs.devexpress.com/GeneralInformation/116698/nuget/setup-visual-studios-nuget-package-manager

2024년 5월 8일 (수) 오후 6:33, Yoshifumi Kawai @.***>님이 작성:

Are you installed Core library from NuGet?

— Reply to this email directly, view it on GitHub https://github.com/Cysharp/MemoryPack/issues/290#issuecomment-2100167508, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJXP2TAHEJ5DYPNFJW46FLZBHWP3AVCNFSM6AAAAABHKL6NEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGE3DONJQHA . You are receiving this because you authored the thread.Message ID: @.***>

Jet-Leus commented 2 months ago

I got same compile errors when using unity 6000.0.1f1 ...

xaroth8088 commented 2 months ago

This sounds like a dupe of https://github.com/Cysharp/MemoryPack/issues/275.