<?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 — iOS Crash after opening OnlineMaps]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1855</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1855&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in iOS Crash after opening OnlineMaps.]]></description>
		<lastBuildDate>Mon, 11 Oct 2021 21:06:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: iOS Crash after opening OnlineMaps]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7801#p7801</link>
			<description><![CDATA[<p>See the resolution note after the problem description.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 11 Oct 2021 21:06:31 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7801#p7801</guid>
		</item>
		<item>
			<title><![CDATA[Re: iOS Crash after opening OnlineMaps]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7800#p7800</link>
			<description><![CDATA[<p>There might be a connection there. I hadn&#039;t seen that they listed a fix for version 2020.3 in the resolution for that. It would be nice to understand what is causing the issue though, as nothing else we use in our app gives us this problem.</p>]]></description>
			<author><![CDATA[null@example.com (cmersereau)]]></author>
			<pubDate>Mon, 11 Oct 2021 21:02:56 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7800#p7800</guid>
		</item>
		<item>
			<title><![CDATA[Re: iOS Crash after opening OnlineMaps]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7798#p7798</link>
			<description><![CDATA[<p>Maybe this is your bug?<br /><a href="https://issuetracker.unity3d.com/issues/ios-crash-on-mtlreportfailure-dot-cold-dot-1-due-to-a-missing-endencoding-call-on-exiting-the-application">https://issuetracker.unity3d.com/issues … pplication</a></p><p>Try updating Unity Editor to 2020.3.18f1 or newer.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 11 Oct 2021 19:29:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7798#p7798</guid>
		</item>
		<item>
			<title><![CDATA[Re: iOS Crash after opening OnlineMaps]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7796#p7796</link>
			<description><![CDATA[<p>Sorry, I realized I forgot to post an image of our settings. All of the OnlineMaps components we have are on the same game object and can be seen on the included image.</p>]]></description>
			<author><![CDATA[null@example.com (cmersereau)]]></author>
			<pubDate>Mon, 11 Oct 2021 19:16:42 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7796#p7796</guid>
		</item>
		<item>
			<title><![CDATA[Re: iOS Crash after opening OnlineMaps]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7794#p7794</link>
			<description><![CDATA[<p>There are no messages in the logs for anything related to maps. That&#039;s part of why it was so hard to isolate on the crash. It was really only due to the diligence of our QA tester that we were able to discover that the maps logic was causing the crash and, as I said previously, a tedious process of testing combinations of disabled/removed components.</p><p>The iOS logs at the time of crash have not proven useful to us. They are not descriptive nor do they point to anything we can trace in our game. All we get is:</p><p>-[_MTLCommandEncoder dealloc], line 131: error &#039;Command encoder released without endEncoding&#039;</p><p>We&#039;ve performed a search of this error and the results are very general and thus far have not helped us understand what is happening.</p>]]></description>
			<author><![CDATA[null@example.com (cmersereau)]]></author>
			<pubDate>Mon, 11 Oct 2021 14:31:45 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7794#p7794</guid>
		</item>
		<item>
			<title><![CDATA[Re: iOS Crash after opening OnlineMaps]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7790#p7790</link>
			<description><![CDATA[<p>Hello.</p><p>Thanks for the bug report, I will definitely check it out.<br />Many people use Online Maps on iOS, and this is the first report of such an issue.</p><p>Online Maps has many features and it is possible that the problem occurs in some combination of settings, so I have a few additional questions to increase the chances of finding the problem:<br />Do you have any messages about map scripts in Xcode Console?<br />If possible please attach crash report and screenshots of all map components.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 08 Oct 2021 22:10:34 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7790#p7790</guid>
		</item>
		<item>
			<title><![CDATA[iOS Crash after opening OnlineMaps]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7789#p7789</link>
			<description><![CDATA[<p>My team has isolated that the OnlineMaps script is somehow causing our app to crash when closing the app after opening a map.</p><p>Steps:<br />1. Launch an app on iOS <br />2. Activate a game object with the OnlineMaps script. This can be closed or left open.<br />3. Close the app (for us, this means backgrounding and closing the app)<br />4. A native iOS popup displays saying that the app has crashed.</p><p>The stakes for this might seem low as the crash is happening as the user is closing the app anyway, but obviously this would be a terrible user experience.</p><p>We were able to isolate the OnlineMaps script as the culprit through a painstaking process of disabling/removing all of the components on our map prefab and rebuilding the app. The only component change that resulted in different behavior was removing the OnlineMaps script from the prefab.</p><p>In our implementation, we are using the GameObject.SetActive() method to display our map prefab and hide it. We are not destroying/recreating the object when we hide/display it again. It seems that there is something that is set or turned on in the OnlineMaps script that does not get destroyed or reset properly on application quit on iOS.</p><p>This is as much information as we know to include with this for now. Any information or things we can test would be appreciated.</p><p>version: 3.7.11.1<br />unity: 2020.3.9fd1</p>]]></description>
			<author><![CDATA[null@example.com (cmersereau)]]></author>
			<pubDate>Fri, 08 Oct 2021 20:02:40 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7789#p7789</guid>
		</item>
	</channel>
</rss>
