<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Map not rendering after v3 update]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1225</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1225&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Map not rendering after v3 update.]]></description>
		<lastBuildDate>Fri, 14 Jun 2019 12:54:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Map not rendering after v3 update]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5150#p5150</link>
			<description><![CDATA[<p>Found the issue. It is related to the update but was due to me not cleaning up properly some event handlers. Basically, I had a listener on the &quot;OnPreloadTiles&quot; action in OnlineMaps. After the update, this action was moved to another class and became a <strong> static </strong> action. I believe the static modifier causes &quot;OnPreloadTiles&quot; to preserve its list of listeners when a new scene is loaded. However, these listeners are evidently destroyed in the transition. Thus, I had a NullPointerException occurring when OnPreloadTiles was invoked and it caused the rendering process to fail.</p><br /><p>Short version: remember to unsubscribe from OnPreloadTiles once you&#039;re done with it, for example in an OnDestroy() call <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (LKDev)]]></author>
			<pubDate>Fri, 14 Jun 2019 12:54:02 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5150#p5150</guid>
		</item>
		<item>
			<title><![CDATA[Re: Map not rendering after v3 update]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5139#p5139</link>
			<description><![CDATA[<p>Hello.</p><p>I have never seen a such problem.<br />If possible, please send your scene as a package to us (support@infinity-code.com).<br />I will check why this is not working correctly.<br />To be clear:<br />I do not need your working project. I need ANY project where the problem is appears.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 11 Jun 2019 09:01:44 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5139#p5139</guid>
		</item>
		<item>
			<title><![CDATA[Map not rendering after v3 update]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5138#p5138</link>
			<description><![CDATA[<p>Hello,</p><p>I just updated my Online Maps package from 2.5 to 3.3.0.1. Since the update, the map stopped rendering in one situation.</p><p>- In the faulty scene, there are two cameras, one of them is used for the map<br />- At the start of the scene, the map GameObject is disabled after it finishes initializing<br />- When the user presses a button, the map is activated and the cameras are switched<br />- The camera switching works, but the map never starts rendering (in the editor, it only appears as an empty wireframe mesh)</p><p>After the update, the map object was broken due to missing scripts but it got fixed once I added a Tileset control script. Note that I have another scene where there is a single camera and the map is always the &quot;main&quot; view. In this case, everything works nicely. </p><p>Is it a known issue? If not, how can I track the source of the problem? </p><p>Thanks in advance!</p>]]></description>
			<author><![CDATA[null@example.com (LKDev)]]></author>
			<pubDate>Tue, 11 Jun 2019 07:26:43 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5138#p5138</guid>
		</item>
	</channel>
</rss>
