markiodev / Networker

A simple to use TCP and UDP networking library for .NET. Compatible with Unity.
MIT License
477 stars 77 forks source link

Errors with unity #50

Open ZauChoco opened 5 years ago

ZauChoco commented 5 years ago

Hello, i try to use Networker with unity but there are errors:

Error messages

I followed the #43 instructions (Compile Networker.dll to 4.7.2, set unity in .net 4.7.* and put it in a Plugins folder)

In my plugin folder there is Networker.dll in 4.7.2 version and Microsoft.Extensions.Logging.

I have tried to put the assemblies files which causes the problem in it (With the 4.7.2 compilation and without) but it didn't change anything.

Is it possible to make a simple example of a unity project ? Or to upload all the dlls in the good version ?

Thank you

corona89 commented 4 years ago

I install this project with NugetForUnity( https://github.com/GlitchEnzo/NuGetForUnity ). It will resolve some dependency problem, but also cause mutliple dll error.

  1. install NugetForUnity in your project.
  2. install Networker, Protobuf nuget package with NugetForUnity. -> it will cause multiple dll error.
  3. disable duplicated dll in /Assets/Packages directory.