<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Augmented Reality App crashes after stoptracking in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/augmented-reality-app-crashes-after-stoptracking/m-p/1006064#M9603</link>
    <description>&lt;P&gt;A callstack would definitely be helpful. Otherwise it's just pure guesswork what went wrong.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I have been able the intercept the exception before the app closes and I’m encountering a null reference exception [...]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;At the moment I am not able to add any stack trace info, but will do this later.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you're able to intercept it, at that breakpoint you should be able to see the stacktrace. Also you can try enabling break on any null reference exception in the exception settings:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-12-01 162538.png" style="width: 360px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1297i527C58D5D3F75BAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-12-01 162538.png" alt="Screenshot 2020-12-01 162538.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 00:26:53 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2020-12-02T00:26:53Z</dc:date>
    <item>
      <title>Augmented Reality App crashes after stoptracking</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/augmented-reality-app-crashes-after-stoptracking/m-p/1005544#M9594</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;At the moment I’m working on a Augmented Reality App using ArcGIS Runtime 100.9 with Xamarin iOS.&lt;BR /&gt;Currently I’m facing I problem in which I really can use some help.&lt;BR /&gt;&lt;BR /&gt;My problem I encounter is that the user has to switch between the GPS and AR kit, for this I used the code from the community samples.&lt;BR /&gt;But when after the scenes are loaded and view is presented the user adds some extra private data, the app crashes and stops working when the _arSceneView.StopTrackingAsync(); function is called when switching between ARKit and GPS.&lt;/P&gt;&lt;P&gt;I have been able the intercept the exception before the app closes and I’m encountering a null reference exception&lt;BR /&gt;&lt;BR /&gt;At the moment I am not able to add any stack trace info, but will do this later.&lt;BR /&gt;Has anyone encountered the same issue and can provide me some help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kind regard&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 16:19:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/augmented-reality-app-crashes-after-stoptracking/m-p/1005544#M9594</guid>
      <dc:creator>PMallo</dc:creator>
      <dc:date>2020-11-30T16:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Augmented Reality App crashes after stoptracking</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/augmented-reality-app-crashes-after-stoptracking/m-p/1006064#M9603</link>
      <description>&lt;P&gt;A callstack would definitely be helpful. Otherwise it's just pure guesswork what went wrong.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I have been able the intercept the exception before the app closes and I’m encountering a null reference exception [...]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;At the moment I am not able to add any stack trace info, but will do this later.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you're able to intercept it, at that breakpoint you should be able to see the stacktrace. Also you can try enabling break on any null reference exception in the exception settings:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-12-01 162538.png" style="width: 360px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1297i527C58D5D3F75BAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-12-01 162538.png" alt="Screenshot 2020-12-01 162538.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 00:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/augmented-reality-app-crashes-after-stoptracking/m-p/1006064#M9603</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-12-02T00:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Augmented Reality App crashes after stoptracking</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/augmented-reality-app-crashes-after-stoptracking/m-p/1015594#M9665</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry for my late response but duo to&amp;nbsp;personal circumstances and the holidays, I could not respond very soon. But I have been testing a lot.&amp;nbsp;Unfortunately, I am no longer able to break on the exception and get the call stack. The app crashes/terminates even when except on all exceptions are set.&lt;BR /&gt;I also tried to reproduce this issue with visual studio for mac, but the issues and not stopping on the exception also occurs on the mac.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 16:17:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/augmented-reality-app-crashes-after-stoptracking/m-p/1015594#M9665</guid>
      <dc:creator>PMallo</dc:creator>
      <dc:date>2021-01-11T16:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Augmented Reality App crashes after stoptracking</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/augmented-reality-app-crashes-after-stoptracking/m-p/1016565#M9669</link>
      <description>&lt;P&gt;Hi Morten,&lt;/P&gt;&lt;P&gt;as mentioned earlier I am not able to intercept the null reference exception anymore.&lt;BR /&gt;But I made the problem reproduceable.&lt;BR /&gt;The problem occurs when new scene layers are dynamically loaded and added to the Scene after that the application ARSceneView has been created with other layers.&lt;/P&gt;&lt;P&gt;Before&amp;nbsp; that the scenes are loaded I can switch between&amp;nbsp;ARKit and GPS without any problems, but the application terminates when I try to switch between&amp;nbsp;ARKit and GPS after new scene layers&amp;nbsp;are dynamically are added to the scene.&lt;/P&gt;&lt;P&gt;Steps to reproduce are:&lt;BR /&gt;1. Create the&amp;nbsp;ARSceneView&lt;BR /&gt;2. Load and and scenelayers to the&amp;nbsp;ARSceneView (public or private, doesn't matter)&lt;BR /&gt;3. When the scenes are visualized, calibrate to align the data with the realworld.&lt;BR /&gt;4. Switch between&amp;nbsp;ARKit and GPS, this should not be a problem&lt;BR /&gt;5. Add&amp;nbsp;by pressing a button dynamically a new scene layer to the scene (public or private, doesn't matter)&lt;BR /&gt;6.&amp;nbsp;After that the new scene is visualized try again to switch&amp;nbsp;between&amp;nbsp;ARKit and GPS, the application will terminate.&lt;/P&gt;&lt;P&gt;I hope that these steps can help you to reproduce this problem, so You could help me to solve this problem.&lt;BR /&gt;Hope to hear from you soon&lt;BR /&gt;&lt;BR /&gt;I you want I can send you my project which I use&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 20:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/augmented-reality-app-crashes-after-stoptracking/m-p/1016565#M9669</guid>
      <dc:creator>PMallo</dc:creator>
      <dc:date>2021-01-13T20:23:54Z</dc:date>
    </item>
  </channel>
</rss>

