<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[&quot;Argument exception: An element with the same key already exist in the dictionary&quot; at line 214 in Client.cs]]></title><description><![CDATA[<p>Hello at the moment I have a problem with Colyseus  &quot;Argument exception: An element with the same key already exist in the dictionary&quot; at line 214 in Client.cs , the logs show that I left a room properly but apparently this.rooms of client.cs did not delete the key in the dictionary.<br />
(It happens when I want to change rooms, I leave the room in progress then I join a new room, moreover the error does not trigger often and is rather random)</p>
<p><img src="/assets/uploads/files/1546857485013-fb627d24-10f5-4028-a87d-db892b7dabc2-image-resized.png" alt="0_1546857482833_fb627d24-10f5-4028-a87d-db892b7dabc2-image.png" class="img-responsive img-markdown" /><br />
Thanks for help</p>
]]></description><link>http://discuss.colyseus.io/topic/198/argument-exception-an-element-with-the-same-key-already-exist-in-the-dictionary-at-line-214-in-client-cs</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 15:21:50 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/198.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Jan 2019 10:45:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &quot;Argument exception: An element with the same key already exist in the dictionary&quot; at line 214 in Client.cs on Invalid Date]]></title><description><![CDATA[<p>Hello at the moment I have a problem with Colyseus  &quot;Argument exception: An element with the same key already exist in the dictionary&quot; at line 214 in Client.cs , the logs show that I left a room properly but apparently this.rooms of client.cs did not delete the key in the dictionary.<br />
(It happens when I want to change rooms, I leave the room in progress then I join a new room, moreover the error does not trigger often and is rather random)</p>
<p><img src="/assets/uploads/files/1546857485013-fb627d24-10f5-4028-a87d-db892b7dabc2-image-resized.png" alt="0_1546857482833_fb627d24-10f5-4028-a87d-db892b7dabc2-image.png" class="img-responsive img-markdown" /><br />
Thanks for help</p>
]]></description><link>http://discuss.colyseus.io/post/638</link><guid isPermaLink="true">http://discuss.colyseus.io/post/638</guid><dc:creator><![CDATA[RS]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to &quot;Argument exception: An element with the same key already exist in the dictionary&quot; at line 214 in Client.cs on Invalid Date]]></title><description><![CDATA[<p>Pull-requests are welcome for this!</p>
]]></description><link>http://discuss.colyseus.io/post/640</link><guid isPermaLink="true">http://discuss.colyseus.io/post/640</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to &quot;Argument exception: An element with the same key already exist in the dictionary&quot; at line 214 in Client.cs on Invalid Date]]></title><description><![CDATA[<p>I do not have a solution strictly speaking to counter the problem in a &quot;clean&quot; way, only a way to circumvent the problem by adding a condition that would remove an element of the dictionary if it already exists</p>
]]></description><link>http://discuss.colyseus.io/post/642</link><guid isPermaLink="true">http://discuss.colyseus.io/post/642</guid><dc:creator><![CDATA[RS]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>