<?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 — [Threading] get_isPlaying can only be called from the main thread]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1053</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1053&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [Threading] get_isPlaying can only be called from the main thread.]]></description>
		<lastBuildDate>Sat, 09 Mar 2019 12:24:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Threading] get_isPlaying can only be called from the main thread]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4615#p4615</link>
			<description><![CDATA[<p>Hello.</p><p>Thanks for the bug report.<br />The problem has been fixed.<br />The new version (3.0.3) will be available through the built-in update system in 24 hours.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 09 Mar 2019 12:24:15 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4615#p4615</guid>
		</item>
		<item>
			<title><![CDATA[[Threading] get_isPlaying can only be called from the main thread]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4613#p4613</link>
			<description><![CDATA[<p>Salute,<br />when i make a new Map with: 2D, UIImageRenderer (on new panel object), Cache-Plugin, Location-Plugin and run the app i get the following error:<br /></p><div class="codebox"><pre><code>get_isPlaying can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don&#039;t use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
UnityEngine.Application:get_isPlaying()
OnlineMapsInteractiveElementManager`2:get_instance() (at Assets/Infinity Code/Online maps/Scripts/Core/OnlineMapsInteractiveElementManager.cs:31)
OnlineMapsBuffer:GenerateFrontBuffer() (at Assets/Infinity Code/Online maps/Scripts/Core/OnlineMapsBuffer.cs:256)</code></pre></div><p>and the following try/catch exception:<br /></p><div class="codebox"><pre><code>get_isPlaying can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don&#039;t use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
  at (wrapper managed-to-native) UnityEngine.Application:get_isPlaying ()
  at OnlineMapsInteractiveElementManager`2[OnlineMapsDrawingElementManager,OnlineMapsDrawingElement].get_instance () [0x00016] in F:\...\Assets\Infinity Code\Online maps\Scripts\Core\OnlineMapsInteractiveElementManager.cs:31 
  at OnlineMapsBuffer.GenerateFrontBuffer () [0x00281] in F:\...\Assets\Infinity Code\Online maps\Scripts\Core\OnlineMapsBuffer.cs:256 
UnityEngine.Debug:Log(Object)
OnlineMapsBuffer:GenerateFrontBuffer() (at Assets/Infinity Code/Online maps/Scripts/Core/OnlineMapsBuffer.cs:268)</code></pre></div><p>This happen in my exsiting Project and a complete new one.<br />I can use the map quite normal so far. If i get some issues i will update here.</p>]]></description>
			<author><![CDATA[null@example.com (Sinthien)]]></author>
			<pubDate>Sat, 09 Mar 2019 12:00:57 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4613#p4613</guid>
		</item>
	</channel>
</rss>
