<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — NRE after disabling GameObject holding OnlineMaps instance]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=143&amp;type=atom" />
	<updated>2016-04-21T11:23:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=143</id>
		<entry>
			<title type="html"><![CDATA[Re: NRE after disabling GameObject holding OnlineMaps instance]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=619#p619" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I checked it.</p><p>This does not happen when you disable GameObject.<br />This happens when you disable Online Maps (Script), and control left enabled.</p><p>Solution:<br />1. Disable Online Maps and Control.<br />2. Disable GameObject containing Online Maps and Control.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-04-21T11:23:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=619#p619</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[NRE after disabling GameObject holding OnlineMaps instance]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=616#p616" />
			<content type="html"><![CDATA[<p>OnlineMaps version : 2.4.0.31</p><p>OnlineMaps is set up as shown in the screenshot. When disabling the container game object at runtime, the following happens:</p><p>NullReferenceException: A null value was found where an object instance was required.<br />&nbsp; at OnlineMapsMarker.HitTest (Vector2 coordinates, Int32 zoom) [0x00000] in &lt;filename unknown&gt;:0 <br />&nbsp; at OnlineMaps.GetMarkerFromScreen (Vector2 screenPosition) [0x00000] in &lt;filename unknown&gt;:0</p>]]></content>
			<author>
				<name><![CDATA[florian.schneider]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=107</uri>
			</author>
			<updated>2016-04-21T07:43:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=616#p616</id>
		</entry>
</feed>
