<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Can't remove Marker3D anymore]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1073&amp;type=atom" />
	<updated>2019-03-27T22:34:35Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1073</id>
		<entry>
			<title type="html"><![CDATA[Re: Can't remove Marker3D anymore]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4709#p4709" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Just checked the removal of 3D markers with a tag, and it works correctly.<br />Problem in waypointMarker.<strong>instance</strong>.tag.<br />You set the tag for GameObject instead of the marker.<br />There should be: <br /></p><div class="codebox"><pre><code>waypointMarker.tags.Add(&quot;Waypoint&quot;);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-03-27T22:34:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4709#p4709</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Can't remove Marker3D anymore]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4706#p4706" />
			<content type="html"><![CDATA[<p>Hi</p><p>I can&#039;t remove my markers 3D anymore. It use to work before (though i&#039;m not sure when it breaks).</p><p>I add markers with : </p><div class="codebox"><pre><code> OnlineMapsMarker3D waypointMarker = OnlineMapsMarker3DManager.instance.Create(data.GpsCoordinates.Longitude, data.GpsCoordinates.Latitude, waypointPrefab);
        waypointMarker.instance.tag = &quot;Waypoint&quot;;</code></pre></div><p>And i&#039;m trying to remove them with : </p><div class="codebox"><pre><code> OnlineMapsMarker3DManager.instance.RemoveByTag(&quot;Waypoint&quot;);</code></pre></div><p>One thing i change recently is my waypoint prefab :&nbsp; it&#039;s now a prefab with another nested prefab inside. Could this be the problem ? <br />Edit: i tryed with a very simple prefab and the problem is the same. Is the RemoveByTag function broken ? The tag is properly assigned when i check the marker instance in the scene view.</p>]]></content>
			<author>
				<name><![CDATA[Thibault]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=821</uri>
			</author>
			<updated>2019-03-27T14:30:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4706#p4706</id>
		</entry>
</feed>
