floatinghotpot / socket.io-unity

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

Error in Unity 2018.1.3f1 #33

Open cristiancarli opened 6 years ago

cristiancarli commented 6 years ago

Hi this asset not work into unity 2018.1.3f1 it gives two error as follow.

C:/Users/utente/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.package-manager-ui@1.8.8/Editor/Sources/Services/Packages/Package.cs(27,60): error CS0121: The call is ambiguous between the following methods or properties: System.Linq.LINQ.FirstOrDefault<UnityEditor.PackageManager.UI.PackageInfo>(this System.Collections.Generic.IEnumerable<UnityEditor.PackageManager.UI.PackageInfo>, System.Predicate<UnityEditor.PackageManager.UI.PackageInfo>)' andSystem.Linq.Enumerable.FirstOrDefault(this System.Collections.Generic.IEnumerable, System.Func<UnityEditor.PackageManager.UI.PackageInfo,bool>)'

ghost commented 6 years ago

@floatinghotpot Will we have a fix for this problem? If yes, when?

ltphy commented 6 years ago

I have one solution for this problems: Head to file location: C:/Users/UserName/AppData/Local/Unity/cache/packages/ Delete the folder packages.unity.com Everything will works fine. Although every time you start the project, you need to delete it.

AugusDogus commented 6 years ago

Thanks @ltphy, that's working as a temp solution for me.

sagar1garg commented 6 years ago

@ltphy @floatinghotpot

Any permanent resolution to this problem. I am having same issue in 2018 edition.

JonathanPalmerGD commented 6 years ago

@ltphy 's solution did not work for me.

Using Unity 2018.1.9f1