floatinghotpot / socket.io-unity

socket.io client for Unity, power game client with node.js back-end
494 stars 76 forks source link

Unity 2018 Issue socket io issue #37

Open mkashifwk opened 5 years ago

mkashifwk commented 5 years ago

Hello, I dragged dlls to my unity assets, it gives me error

/Users/apple/Library/Unity/cache/packages/packages.unity.com/com.unity.package-manager-ui@1.9.11/Editor/Sources/UI/Common/PopupField.cs(61,38): error CS0433: The imported type `System.Func<T,TResult>' is defined multiple times

packages.unity.com/com.unity.textmeshpro@1.2.4/Scripts/Runtime/FastAction.cs(83,27): error CS0433: The imported type `System.Action<T1,T2>' is defined multiple times

ATheCoder commented 5 years ago

Yeah, This is the conflict with unity's package Manager UI, Downgrading to Version 2017.1 (When there was no package Manager) will get around this issue.

mkashifwk commented 5 years ago

@ATheCoder ok, thanks,

LagacheLouis commented 5 years ago

@mkashifwk @ATheCoder I have discovered a solution, you can remove the package manager ui dependancy in the project in "yourproject"/Packages/manifest.json. It will remove the package manager from your project.

bcjordan commented 5 years ago

@LagacheLouis I see, this would make this Socket.io work but then you just can't import new platforms etc from Unity?

garzj commented 4 years ago

This library works much better for me. It saved me from a lot of headaches, so I thought I'll share it with you.