<?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 arcgis runtime app crashes after loading local Elevation in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-runtime-app-crashes-after-loading-local/m-p/359537#M4248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using arcgis runtime .net 100.2.1. My WPF application with arcgis runtime crashes &lt;SPAN style="background-color: #ffffff;"&gt;frequrently&amp;nbsp;&lt;/SPAN&gt;after loading my local elevation file. the crash happens when zooming in/out, or rotating the scene, is this a known issue and any ideas to avoid the crash?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is&amp;nbsp;my&amp;nbsp;main steps&amp;nbsp;to create the scene:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1,load the local slpk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Uri treespk = new System.Uri(slpkPath);&lt;BR /&gt; var sceneLayer = new ArcGISSceneLayer();&lt;BR /&gt; // add the scene layer to the scene&lt;BR /&gt; sceneLayer.Source = treespk;&lt;BR /&gt; sceneView.Scene.OperationalLayers.Add(sceneLayer);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2,load the local elevation file with "tif" suffix.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;var elevationSource = new RasterElevationSource(myFiles);&lt;/P&gt;&lt;P&gt;// Add elevationSource to BaseSurface's ElevationSources&lt;BR /&gt; sceneView.Scene.BaseSurface.ElevationSources.Add(elevationSource);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2018 02:27:42 GMT</pubDate>
    <dc:creator>PeterChen1</dc:creator>
    <dc:date>2018-09-14T02:27:42Z</dc:date>
    <item>
      <title>arcgis runtime app crashes after loading local Elevation</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-runtime-app-crashes-after-loading-local/m-p/359537#M4248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using arcgis runtime .net 100.2.1. My WPF application with arcgis runtime crashes &lt;SPAN style="background-color: #ffffff;"&gt;frequrently&amp;nbsp;&lt;/SPAN&gt;after loading my local elevation file. the crash happens when zooming in/out, or rotating the scene, is this a known issue and any ideas to avoid the crash?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is&amp;nbsp;my&amp;nbsp;main steps&amp;nbsp;to create the scene:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1,load the local slpk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Uri treespk = new System.Uri(slpkPath);&lt;BR /&gt; var sceneLayer = new ArcGISSceneLayer();&lt;BR /&gt; // add the scene layer to the scene&lt;BR /&gt; sceneLayer.Source = treespk;&lt;BR /&gt; sceneView.Scene.OperationalLayers.Add(sceneLayer);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2,load the local elevation file with "tif" suffix.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;var elevationSource = new RasterElevationSource(myFiles);&lt;/P&gt;&lt;P&gt;// Add elevationSource to BaseSurface's ElevationSources&lt;BR /&gt; sceneView.Scene.BaseSurface.ElevationSources.Add(elevationSource);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 02:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-runtime-app-crashes-after-loading-local/m-p/359537#M4248</guid>
      <dc:creator>PeterChen1</dc:creator>
      <dc:date>2018-09-14T02:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis runtime app crashes after loading local Elevation</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-runtime-app-crashes-after-loading-local/m-p/359538#M4249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if updating to v100.3 will still cause a crash? If it's still reproducible with latest, do you mind sharing repro code/data? Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 20:30:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-runtime-app-crashes-after-loading-local/m-p/359538#M4249</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2018-09-14T20:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis runtime app crashes after loading local Elevation</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-runtime-app-crashes-after-loading-local/m-p/359539#M4250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today I upgrade to v100.3 and yes the crash is gone.However, my scene layer is invisible when it's there when I was using v100.2.1,could you give me some idea on how to fix? Below is my code snippet to load my local slpk as an&amp;nbsp;&lt;SPAN&gt;ArcGISSceneLayer:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uri treespk = new System.Uri(slpkPath);&lt;BR /&gt; var sceneLayer = new ArcGISSceneLayer();&lt;BR /&gt; // add the scene layer to the scene&lt;BR /&gt; sceneLayer.Source = treespk;&lt;BR /&gt; sceneLayer.Loaded += SceneLayer_Loaded;&lt;BR /&gt; //await sceneLayer.LoadAsync();&lt;BR /&gt; sceneView.Scene.OperationalLayers.Add(sceneLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, the&amp;nbsp;&lt;SPAN&gt;SceneLayer_Loaded is invoked so I am sure the&amp;nbsp;sceneLayer is loaded without any error, just not visible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I&amp;nbsp;try to load the same local slpk via arcgis earth v1.6.1, it's&amp;nbsp;visible on the earth.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 02:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-runtime-app-crashes-after-loading-local/m-p/359539#M4250</guid>
      <dc:creator>PeterChen1</dc:creator>
      <dc:date>2018-09-18T02:03:37Z</dc:date>
    </item>
  </channel>
</rss>

