<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — OnlineMapsCache missing?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2288&amp;type=atom" />
	<updated>2024-07-16T14:00:18Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2288</id>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsCache missing?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9591#p9591" />
			<content type="html"><![CDATA[<p>Sure, just letting you know that is somehow <a href="https://forum.infinity-code.com/viewtopic.php?pid=9578#p9578">confusing</a> Unity and potentially preventing people from being able to run Online Maps out of the box.&nbsp; Just trying to help and support your efforts.</p>]]></content>
			<author>
				<name><![CDATA[drew]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1457</uri>
			</author>
			<updated>2024-07-16T14:00:18Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9591#p9591</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsCache missing?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9590#p9590" />
			<content type="html"><![CDATA[<p>What you describe is done by the AddComponentMenu attribute, not the OnlineMapsPlugin attribute.<br />It replaces the component name in the inspector and Add Component window with the last part of the path.<br />That&#039;s the way it works and I can&#039;t fix it or work around it except to use full class names in the menu, which would look ugly.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-07-16T01:27:44Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9590#p9590</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsCache missing?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9589#p9589" />
			<content type="html"><![CDATA[<p>&gt;&gt;&nbsp; first of all you need to look at the console (Window / General / Console).</p><p>Yes, yes -- you&#039;re adorable.</p><br /><br /><p>I think I found the issue -- the markup around class OnlineMapsCache:</p><div class="codebox"><pre><code>[OnlineMapsPlugin(&quot;Cache&quot;, typeof(OnlineMapsControlBase), true)]</code></pre></div><p>It&#039;s causing Unity to identify `OnlineMapsCache` as &quot;Cache&quot; -- effectively renaming the class name as the editor knows it.</p><p>This is consistent with no component showing up in the <strong>Add Component</strong> when typing &quot;Online...&quot;, etc.&nbsp; &nbsp;Rather, it does show up when &quot;Cache&quot; is entered, which is understandably not going to be found.&nbsp; Surprised that Unity doesn&#039;t offer both, but that&#039;s Unity for you.&nbsp; &nbsp;You should be able to reproduce this -- I&#039;m on an M1 running 2022.3.36 but likely does not matter.</p><p>See attached screenshots.</p><p>Needless to say, adding &quot;Cache&quot; and the removing unknown script OnlineMapsCache component removes all issues.&nbsp; &nbsp;Looking fwd to showing you our use of OnlineMaps and it would be a shame to have missed it on the count of that oddity.</p>]]></content>
			<author>
				<name><![CDATA[drew]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1457</uri>
			</author>
			<updated>2024-07-16T00:49:10Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9589#p9589</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsCache missing?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9580#p9580" />
			<content type="html"><![CDATA[<p>If the editor does not recognise some script as valid, first of all you need to look at the console (Window / General / Console).<br />Most likely you have errors in some scripts there, and you need to fix them for the editor to compile other scripts (in this case OnlineMapsCache).</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-07-08T19:20:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9580#p9580</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsCache missing?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9578#p9578" />
			<content type="html"><![CDATA[<p>All the example scene have this for OnlineMapsCache.</p><p>I&#039;ve never seen this issue persist after rebuilding the library, hmm.</p>]]></content>
			<author>
				<name><![CDATA[drew]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1457</uri>
			</author>
			<updated>2024-07-08T17:23:33Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9578#p9578</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsCache missing?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9577#p9577" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Hi.</p><p>The first item in your screenshot.</p><p>P.S. It&#039;s a partial class, to keep it from being too cumbersome, and to make it easier to develop and maintain.</p></blockquote></div><p>Appreciate the support.&nbsp; I wasn&#039;t clear enough -- the Editor isn&#039;t recognizing `OnlineMapsCache` as a valid script (it shows up as an unknown script).&nbsp; Tried building library, no change.&nbsp; Weird, right?&nbsp; 2022.3.36</p>]]></content>
			<author>
				<name><![CDATA[drew]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1457</uri>
			</author>
			<updated>2024-07-08T14:26:40Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9577#p9577</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsCache missing?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9576#p9576" />
			<content type="html"><![CDATA[<p>Hi.</p><p>The first item in your screenshot.</p><p>P.S. It&#039;s a partial class, to keep it from being too cumbersome, and to make it easier to develop and maintain.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-07-07T20:47:39Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9576#p9576</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[OnlineMapsCache missing?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9575#p9575" />
			<content type="html"><![CDATA[<p>Hi friends!&nbsp; Getting up and running with OMv3 and after converting to URP I&#039;m seeing the `OnlineMapsCache` Component missing for all the examples.&nbsp; I search in the code for class OnlineMapsCache and all I see are the partials and Editors (see attached pic).&nbsp; </p><p>Super excited about OM after evaluating alternatives closely.&nbsp; Can&#039;t wait to show everyone what we&#039;re doing.</p>]]></content>
			<author>
				<name><![CDATA[drew]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1457</uri>
			</author>
			<updated>2024-07-07T20:41:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9575#p9575</id>
		</entry>
</feed>
