<?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[Room.Visual Sometimes Does Not Exist]]></title><description><![CDATA[<p>I've been seeing bugs since 4AM EST today that state:</p>
<table>
<tbody>
<tr>
<td> </td>
<td>
<pre>TypeError: Cannot read property 'text' of undefined</pre>
</td>
</tr>
</tbody>
</table>
<p>The error cites the line "thisRoom.visual.text(...", thisRoom being a reference to the current room, which is successfully used prior to this call.</p>
<p>It appears this bug is not consistent, as in every couple of ticks the .visual segment is undefined. I've been successfully using the .visual functions without error for a couple of days now, and haven't made any changes to them since I put them in, so it looks like some small update has caused this issue.</p>
<p>As a side note, escaping this specific line with if(room.visual){} will only cause the next room.visual.text call to error.</p>]]></description><link>http://screeps.com/forum/topic/286/room-visual-sometimes-does-not-exist</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 18:24:34 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/286.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Feb 2017 13:23:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Room.Visual Sometimes Does Not Exist on Invalid Date]]></title><description><![CDATA[<p>I've been seeing bugs since 4AM EST today that state:</p>
<table>
<tbody>
<tr>
<td> </td>
<td>
<pre>TypeError: Cannot read property 'text' of undefined</pre>
</td>
</tr>
</tbody>
</table>
<p>The error cites the line "thisRoom.visual.text(...", thisRoom being a reference to the current room, which is successfully used prior to this call.</p>
<p>It appears this bug is not consistent, as in every couple of ticks the .visual segment is undefined. I've been successfully using the .visual functions without error for a couple of days now, and haven't made any changes to them since I put them in, so it looks like some small update has caused this issue.</p>
<p>As a side note, escaping this specific line with if(room.visual){} will only cause the next room.visual.text call to error.</p>]]></description><link>http://screeps.com/forum/post/1432</link><guid isPermaLink="true">http://screeps.com/forum/post/1432</guid><dc:creator><![CDATA[Montblanc]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Room.Visual Sometimes Does Not Exist on Invalid Date]]></title><description><![CDATA[<p>Same here. I've been getting the issue every few ticks for the past 3 - 5 hours. It seems to happen very randomly.</p>]]></description><link>http://screeps.com/forum/post/1433</link><guid isPermaLink="true">http://screeps.com/forum/post/1433</guid><dc:creator><![CDATA[Syncaidius]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Room.Visual Sometimes Does Not Exist on Invalid Date]]></title><description><![CDATA[<p>I also have gotten several of these errors starting about 5 hours ago</p>]]></description><link>http://screeps.com/forum/post/1434</link><guid isPermaLink="true">http://screeps.com/forum/post/1434</guid><dc:creator><![CDATA[Helam]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Room.Visual Sometimes Does Not Exist on Invalid Date]]></title><description><![CDATA[<p>I received the 1st error email notification at exactly 4:00 AM EST. The error persists as described by others.</p>]]></description><link>http://screeps.com/forum/post/1435</link><guid isPermaLink="true">http://screeps.com/forum/post/1435</guid><dc:creator><![CDATA[DangerTime]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Room.Visual Sometimes Does Not Exist on Invalid Date]]></title><description><![CDATA[<p>Some server nodes switched to a stale code branch. It is fixed, the error should not appear anymore.</p>]]></description><link>http://screeps.com/forum/post/1436</link><guid isPermaLink="true">http://screeps.com/forum/post/1436</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>