Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by darvath · May 12, 2018 at 03:05 PM · erroreditorupdatewindows 10

Unity Package Manager UI Error Socket IO Unity after updating from 2017.3 to 2018.1.0f2 Nodejs

alt text

So, I've updated to the latest stable release of unity and I am currently experiencing this error.

I am on Windows 10 with latest updates.

Same issue happened a while ago when I updated to 2018 but when it was on it's beta version.

The error is this:

 C:/Users/georg/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>)' and `System.Linq.Enumerable.FirstOrDefault<UnityEditor.PackageManager.UI.PackageInfo>(this System.Collections.Generic.IEnumerable<UnityEditor.PackageManager.UI.PackageInfo>, System.Func<UnityEditor.PackageManager.UI.PackageInfo,bool>)'
 


A workaround is to delete the unity package manager ui folder from your cache at C:\Users{Your Username Here}\AppData\Local\Unity\cache\packages\packages.unity.com

Any ideas?

unity-error.png (32.5 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by darvath · Jun 12, 2018 at 05:53 PM

Since I couldn't find anything on the internet, I found out that this is a very specific issue.

TL;DR: Socket IO (socket.io) is incompatible with current unity version (2018.1+), and might also create conflicts with other code too, such as Post Processing Stack disregarding the version of unity

I was using Socket IO Unity [https://github.com/floatinghotpot/socket.io-unity][1] which is also available in the asset store for sale. DO NOT BUT IT UNTIL IT GETS UPDATED

It seems that the developers of the libraries required for socket.io have declared variables etc at a system level without using proper namespaces thus resulting in code conflicts with the package manager of unity and with other libraries also.

For example the Post Processing Stack conflicts with the Socket IO Unity library.
The error is obviously resolved after removing the socket io libraries.

The socket io project is left untouched for at least 4 months now, and the source code for SocketIoClientDotNet.dll and the other 2 does not seem to be available, so a socket io project cannot be completed as of now in unity.

As I mentioned in my original post you can get away with removing the folder of the package manager every time you start unity, but this becomes annoying pretty fast.

PS: The socket io unity libraries are developed by a third party and have no actual connection with the socket.io project
[1]: https://github.com/floatinghotpot/socket.io-unity

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

138 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 2020.2 crashes when loading my Unity 2020.1 project 0 Answers

NEW 'Updated' version of PHOTON PUN 2 results in 109 'namespace' ERRORS 0 Answers

Memory Leak Adventures in Editor (3.4, lot of instantiated objects) 1 Answer

Unity2D- Screen view out of frustum? 1 Answer

Really weird Unity Camera Bug (In Editor) 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges