Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

System.Collections.Concurrent does not exist.

Discussion in 'Scripting' started by Lelon, Aug 12, 2016.

  1. Lelon

    Lelon

    Joined:
    May 24, 2015
    Posts:
    79
    Hi,
    I'm trying to use concurrent Dictionary in my multi threaded environment, however System.Collections.Concurrent does not exist in my unity3d setup. Anyone knows if this is implemented in unity? Thank you.
     
  2. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    I dont think Unity has made it to .net 4 yet. Still around 3.5ish. @Eric5h5 might be able to confirm.
     
  3. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,294
    If you need support for newer C# versions, there's a community work-around. Bitbucket link, forums link.