<?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 — Cached Tiles dont load properly]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1485</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1485&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Cached Tiles dont load properly.]]></description>
		<lastBuildDate>Mon, 06 Apr 2020 09:35:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Cached Tiles dont load properly]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6133#p6133</link>
			<description><![CDATA[<p>StreamingAssets and Resources are different folders that have different purposes.<br /><a href="https://docs.unity3d.com/Manual/SpecialFolders.html">https://docs.unity3d.com/Manual/SpecialFolders.html</a><br />Online Maps has a built-in way for loading tiles from Resources, but does not have from StreamingAssets.</p><p>You can manually load tiles from StreamingAssets by intercepting a request using OnlineMapsTileManager.OnStartDownloadTile.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsTileManager.html#abea91ee5ab608b4a930f8b3a0078248d">http://infinity-code.com/doxygen/online … 3a0078248d</a><br /><a href="https://docs.unity3d.com/Manual/StreamingAssets.html">https://docs.unity3d.com/Manual/StreamingAssets.html</a></p><p>P.S. I think the ability to load tiles from StreamingAssets will be useful and we will add this feature in Online Maps v3.8.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 06 Apr 2020 09:35:26 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6133#p6133</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cached Tiles dont load properly]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6131#p6131</link>
			<description><![CDATA[<p>It doesn&#039;t load any tiles from the given folder, whether they been there since start or not.<br />I managed to load tiles and save them to the given folder; settings been Resources and Online as u mentioned. Works. <br />Then i restart with settings Resources only with the intention to see the preloaded tiles, but they dont show up.</p><p>In other words: i put some tiles to the given folder before starting the game, then start it with offline settings, map doesnt show up. I checked all folder-paths btw.</p>]]></description>
			<author><![CDATA[null@example.com (Sinthien)]]></author>
			<pubDate>Sun, 05 Apr 2020 12:10:25 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6131#p6131</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cached Tiles dont load properly]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6130#p6130</link>
			<description><![CDATA[<p>Hello.</p><p>Interception of downloading tiles, which is used in the script that you mention, will not work with Source - Resources, because in this mode the map searches for tiles only in the Resources folder, and you cannot put something in this folder after build.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 05 Apr 2020 11:27:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6130#p6130</guid>
		</item>
		<item>
			<title><![CDATA[Cached Tiles dont load properly]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6129#p6129</link>
			<description><![CDATA[<p>Hello again,<br />i used your wonderful script <a href="https://forum.infinity-code.com/viewtopic.php?id=1052">https://forum.infinity-code.com/viewtopic.php?id=1052</a> and loaded some tiles to the cache.<br />If i restart with source set to resources only some tiles get loaded if i zoom out. On zoom in nothing get loaded and even the previously shown tiles cease to show.<br />Did i mess somethin up ?</p><p>Folder structure is &quot;Assets/StreamingAssets/Tile Cache/&quot;.</p><p>If i use &quot;Assets/StreamingAssets/Tile Cache/{zoom}/{x}/{y}&quot; then nothing will be shown.</p>]]></description>
			<author><![CDATA[null@example.com (Sinthien)]]></author>
			<pubDate>Sun, 05 Apr 2020 11:19:37 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6129#p6129</guid>
		</item>
	</channel>
</rss>
