<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — OnlineMapsLocationService.instance always returns "null"]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=573&amp;type=atom" />
	<updated>2017-06-18T17:05:21Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=573</id>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsLocationService.instance always returns "null"]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2485#p2485" />
			<content type="html"><![CDATA[<p>Hello.</p><p>There can be three reasons:<br />1. You do not have Online Maps Location Service component.<br />Solution: add Online Maps Location Service component.</p><p>2.Online Maps Location Service component is disabled.<br />Solution: enable Online Maps Location Service component.</p><p>3. You are trying to use OnlineMapsLocationService.instance in Awake or OnEnable.<br />Solution: use this in Start or later.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-06-18T17:05:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2485#p2485</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[OnlineMapsLocationService.instance always returns "null"]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2484#p2484" />
			<content type="html"><![CDATA[<p>Hi,<br />Please I have been trying to work with the Online Map&#039;s Location Service. My app worked fine with Unity&#039;s LocationService but I want to switch. However, whenever I call OnlineMapsLocationService.instance both in the Editor and on any device, I get a Null reference error.<br />I will appreciate any help on this.</p><p>Thank you.</p>]]></content>
			<author>
				<name><![CDATA[smyte100]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=488</uri>
			</author>
			<updated>2017-06-18T09:27:19Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2484#p2484</id>
		</entry>
</feed>
