<?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 — Tilesets on UI - no interactivity when built for windows]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1679</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1679&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Tilesets on UI - no interactivity when built for windows.]]></description>
		<lastBuildDate>Tue, 26 Jan 2021 09:08:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7109#p7109</link>
			<description><![CDATA[<p>Tileset is not UI element and cannot be used inside Canvas.<br />This can cause any problems, for example, as in your case.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 26 Jan 2021 09:08:20 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7109#p7109</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7108#p7108</link>
			<description><![CDATA[<p>Problem apparently found and fixed. </p><p>The observed behavior was actually not due to Mac vs Win, but rather to changes in Display resolution. It happened similarly in the editor when testing different display simulation (which I should have tested earlier).</p><p>The origin of the behaviour was that I had the map within a prefab, and this led it to be put in a UI hierarchy, which led it (map? camera? texture?) to be influenced by different Display resolutions. </p><p>Changing my prefab instantiation strategy to have the map object created outside of the UI hierarchy seems to have fixed the problem.</p>]]></description>
			<author><![CDATA[null@example.com (emmanuel.g.blanchard)]]></author>
			<pubDate>Mon, 25 Jan 2021 20:39:28 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7108#p7108</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7072#p7072</link>
			<description><![CDATA[<p>if I put 500 in the camera orbit of the prefab, the value in the instance of the mac version is ~1000. I tried another value : 700... and the value in the instance was ~1400<br />There s a&nbsp; x2 somewhere...<br />i don&#039;t see how it could come from my scripts or prefab settings. As said, it s the same project synchronized on 2&nbsp; computers. and settings are the same.</p><p>Edit: So if someone else encounters the same issue, i have a dirty-yet-easy fix</p><p>#if UNITY_STANDALONE_OSX<br />OnlineMapsCameraOrbit.instance.distance /=2;<br />#endif</p><p>Then the visualization is the same on mac and pc.</p><p>Edit2:This indeed must come from something in my project. I created an empty project with just the map, and synchronized it between OS. It doesn&#039;t reproduce the visualization issue. For now i have my fix. I will investigate when i have time and if it s not too silly, i will keep you posted. Sorry for the trouble.</p>]]></description>
			<author><![CDATA[null@example.com (emmanuel.g.blanchard)]]></author>
			<pubDate>Mon, 18 Jan 2021 00:12:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7072#p7072</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7070#p7070</link>
			<description><![CDATA[<p>Interesting, and very strange.<br />I&#039;ve never seen anything like it.<br />On Mac: try setting Camera Orbit / Distance - 500, and then set it back to 1000.<br />Perhaps this is some kind of script serialization problem.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 17 Jan 2021 22:12:22 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7070#p7070</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7067#p7067</link>
			<description><![CDATA[<p>Both versions are synchronized with collaborate. So codes, prefabs and their settings are exactly the same.</p><p>Yet you are sorta right.<br />- At runtime, the map camera Y location on Mac is +1000 (~2000 instead of ~1000)<br />In Mac editor, I can fix the visualization at runtime, by putting the Y value to 1000 but in order to modify it, i need to disable the Camera orbit script. I guess the issue is there. As said before, the setting of this component is exactly the same in both mac and pc (I didn&#039;t change anything : average center, 1000, 80, rot to 0 0, speed to 1 1)</p><p>I can put a script somewhere to fix it but i doubt that s a normal behaviour.</p><p>Edit. The issue is definitely with camera orbit. If, at runtime, i fix the visualization with the 2 actions I said before, and I enable CameraOrbit again afterward, the visualization becomes inappropriate again.</p>]]></description>
			<author><![CDATA[null@example.com (emmanuel.g.blanchard)]]></author>
			<pubDate>Sun, 17 Jan 2021 19:43:50 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7067#p7067</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7066#p7066</link>
			<description><![CDATA[<p>Compare settings of components step by step.<br />Somewhere you have different values.<br />This problem could be in:<br />- Map / Transform / Scale.<br />- Map / Camera Orbit / Distance.<br />- Map / Tileset / Size In Scene.<br />- (If you are not using Camera Orbit) Camera / Transform / Position.</p><p>Besides, it could be somewhere else.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 17 Jan 2021 18:36:08 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7066#p7066</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7065#p7065</link>
			<description><![CDATA[<p>Follow up issue. </p><p>I ve built the project on Windows. Works as expected. <br />But when working on the same project for mac, the map rendering is different. <br />My setup is the following. <br />- I create a 1024x1024 renderTexture<br />- it is on a rawImage set to be squared (aspectRatioFitter with ratio of 1 and height controls width) in a 1080x1920 portrait canvas<br />- The online maps width and height are set to 512<br />- The tileset size in scene is set to 1024x1024. </p><p>This way on window, i can have a decent resolution while keeping city names big enough.<br />However on mac, the renderTexture only takes the middle 512x512 square of the RawImage&nbsp; (the issue appears in the editor as well as in build)</p><br /><p>See image : Mac on the left, Windows (expected behaviour) on the right)</p>]]></description>
			<author><![CDATA[null@example.com (emmanuel.g.blanchard)]]></author>
			<pubDate>Sun, 17 Jan 2021 02:52:03 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7065#p7065</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7064#p7064</link>
			<description><![CDATA[<p>This solved the issue. As always thanks for the quick fix.</p>]]></description>
			<author><![CDATA[null@example.com (emmanuel.g.blanchard)]]></author>
			<pubDate>Sun, 17 Jan 2021 00:33:50 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7064#p7064</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7061#p7061</link>
			<description><![CDATA[<p>Hello.</p><p>This is a bug in the Raw Image Touch Forwarder.<br />The modified script is attached.<br />Replace this file in your project.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 16 Jan 2021 11:35:20 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7061#p7061</guid>
		</item>
		<item>
			<title><![CDATA[Tilesets on UI - no interactivity when built for windows]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7060#p7060</link>
			<description><![CDATA[<p>Hello, I found the video you published for properly using tileset maps on UI. <br />It works really smoothly when using it with play from the Unity Editor. But when i tried to built for windows today (both 32 and 64b), there is no more interactivity. No ability to move the map, to zoom, to click on markers. </p><p>I tried redo a very basic example from step 1<br />- creating a new project, <br />- following strictly the video and doing nothing more in my scene. Structur<br />The result was the same. It works well when played from the editor but no interactivity on windows.</p><p>Any idea?</p><p>PS: Unity version 2020.2.1f1 and OnlineMaps 3.7.8</p>]]></description>
			<author><![CDATA[null@example.com (emmanuel.g.blanchard)]]></author>
			<pubDate>Fri, 15 Jan 2021 21:14:24 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7060#p7060</guid>
		</item>
	</channel>
</rss>
