<?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 — Issues with version 3.x - Version 2.x was better?....]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1121</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1121&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Issues with version 3.x - Version 2.x was better?.....]]></description>
		<lastBuildDate>Sat, 27 Apr 2019 12:15:14 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Issues with version 3.x - Version 2.x was better?....]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4829#p4829</link>
			<description><![CDATA[<p>Great!<br />Many thanks</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Sat, 27 Apr 2019 12:15:14 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4829#p4829</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues with version 3.x - Version 2.x was better?....]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4827#p4827</link>
			<description><![CDATA[<p>Thanks for the project.</p><p>The problem has been fixed.<br />The new version will be available through the built-in update system on Monday.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 27 Apr 2019 11:40:50 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4827#p4827</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues with version 3.x - Version 2.x was better?....]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4825#p4825</link>
			<description><![CDATA[<p>Well.. as you suggested using OnlineMapsControlBaseDynamicMesh.OnMeshUpdated&nbsp; seem to do the job (no more shake),<br />But I&#039;d curious to know what&#039;s going on.</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Sat, 27 Apr 2019 01:30:17 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4825#p4825</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues with version 3.x - Version 2.x was better?....]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4822#p4822</link>
			<description><![CDATA[<p>I&#039;ve just sent you the project with Wetransfer.<br />You can open the scene file &quot;TestScene with issue&quot;<br />It&#039;s just the very basic scene with the map and one Gameobjects (named &quot;Placeholder&quot;).<br />The position of the Placeholder is updated through the previous script.<br />As you will see as you pan the map the position of the Placeholder shake, you can see it better if you zoom in the map.<br />This issue didn&#039;t happen with the previous release</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Fri, 26 Apr 2019 19:36:54 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4822#p4822</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues with version 3.x - Version 2.x was better?....]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4821#p4821</link>
			<description><![CDATA[<p>Thank-you so much! The project is very simple, just your default scene with a Gameobject and a script attached.</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Fri, 26 Apr 2019 19:12:07 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4821#p4821</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues with version 3.x - Version 2.x was better?....]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4820#p4820</link>
			<description><![CDATA[<p>Send your project to us (support@infinity-code.com). I&#039;ll check what&#039;s wrong.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 26 Apr 2019 18:55:09 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4820#p4820</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues with version 3.x - Version 2.x was better?....]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4819#p4819</link>
			<description><![CDATA[<p>Thank-you for your reply,</p><p>1 - maybe it&#039;s my network.</p><p>2 - I&#039;ve did a very simple test with the provided scene &quot;Tileset (Recommended for most cases)&quot;, just with a new Gameobject and the previous script attached to it, and the issue is still there.<br />This issue (shaking) does not happen with the same simple scene (only the Map and a Gameobject) on version 2.x</p><p>3 - Sorry, I didn&#039;t read all the documentation, and since it was working on 2.x I had idea that it was a 3.x problem</p><p>Please could you make a quick test for the issue n.2 ?<br />Many thanks!</p><p>3 -</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Fri, 26 Apr 2019 18:52:31 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4819#p4819</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues with version 3.x - Version 2.x was better?....]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4818#p4818</link>
			<description><![CDATA[<p>Hello.</p><p>1. Theoretically, v3 should be faster.</p><p>2. It is very difficult to say what is wrong.<br />Here need to test the whole project.<br />Try using OnlineMapsControlBaseDynamicMesh.OnMeshUpdated instead of OnChangeZoom and OnChangePosition.</p><p>3. In any version of Online Maps you cannot access map scripts from OnEnable or Awake.<br />It has always worked this way, and this is written in the documentation.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 26 Apr 2019 18:38:12 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4818#p4818</guid>
		</item>
		<item>
			<title><![CDATA[Issues with version 3.x - Version 2.x was better?....]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4817#p4817</link>
			<description><![CDATA[<p>Hello, the title is ironic, I&#039;m pretty sure that the new version is better than the previous one,<br />but I&#039;ve just upgraded OnlineMaps from 2.x to 3.x on my old project, and I have some problems:</p><p>1) The map seem to load slower than before. Maybe it&#039;s just a my impression but I&#039;ve both projects open, and at Start the one with OnlineMaps 2.x it&#039;s quicker (a couple of seconds) to load and update the map on zoom...</p><p>2) I&#039;ve placed some Gameobjects on the map, relative to their longitude and latitude: I was used to update their positions (when the map is zoomed or panned) with this very simple code:</p><p>public Vector2 longitudeLatitude;</p><p>&nbsp; &nbsp; private void OnEnable()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; OnlineMaps.instance.OnChangeZoom += UpdatePosition;<br />&nbsp; &nbsp; &nbsp; &nbsp; OnlineMaps.instance.OnChangePosition += UpdatePosition;<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; private void Start()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; UpdatePosition();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; void UpdatePosition()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; if (longitudeLatitude != Vector2.zero)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; transform.position = OnlineMapsTileSetControl.instance.GetWorldPosition(longitudeLatitude);<br />&nbsp; &nbsp; }</p><p>The problem is that the new position is not accurate. When I pan the map my Gameobjects &quot;shake&quot; a little around the correct position. With OnlineMaps 2.x the new position was perfect and everyhing was very smooth.</p><p>3) The Actions &quot;OnChangeZoom&quot; and &quot;OnChangePosition&quot; are not called on &quot;OnEnable&quot; (NullReferenceException: Object reference not set to an instance of an object)<br />I have to put them on Start, but it&#039;s quite an issue for me.</p><p>Can you help me on all this?<br />Thanks</p>]]></description>
			<author><![CDATA[null@example.com (danielesuppo)]]></author>
			<pubDate>Fri, 26 Apr 2019 17:39:32 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4817#p4817</guid>
		</item>
	</channel>
</rss>
