Search Unity

webplayer and System.Collections.ObjectModel.KeyedCollection

Discussion in 'Editor & General Support' started by KvanteTore, Apr 24, 2012.

  1. KvanteTore

    KvanteTore

    Joined:
    Feb 16, 2010
    Posts:
    87
    The version of KeyedCollection (from mscorlib) in the webplayer is not the same as the one used for the editor or mobiles.

    The one in the webplayer does not match the interface of either msdn or https://github.com/mono/mono/blob/m...em.Collections.ObjectModel/KeyedCollection.cs.

    The one in the editor matches the normal mono implementation.

    Can someone verify if this is by design, or just something that hasn't been updated and will be updated soon? ;)
     
  2. Filmlanguage

    Filmlanguage

    Joined:
    Jul 6, 2012
    Posts:
    4
    Any answer on this one yet? I'm getting hit by this, trying to remove System.Collections.ObjectModel.KeyedCollection dependency from my code right now, but hey, an answer would be nice!
     
  3. LeMageFou

    LeMageFou

    Joined:
    Aug 22, 2012
    Posts:
    1
    Hi.

    I have a similar problem related to the KeyedCollection class. I want to use the json.net librairy to easily parse some json files. Everything works perfectly in the editor but in the webplayer, I have an error in the log file :
     
  4. imtrobin

    imtrobin

    Joined:
    Nov 30, 2009
    Posts:
    1,548
    Facing same issues.