<?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: Map reloads each time switching back to map scene in ArcGIS Maps SDK for Unity Questions</title>
    <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/map-reloads-each-time-switching-back-to-map-scene/m-p/1543823#M986</link>
    <description>&lt;P&gt;Did you end up finding a better solution for your problem?&lt;BR /&gt;I'm currently encountering the same behavior, and would be interested in a fix.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 15:32:39 GMT</pubDate>
    <dc:creator>HuesserC</dc:creator>
    <dc:date>2024-09-30T15:32:39Z</dc:date>
    <item>
      <title>Map reloads each time switching back to map scene</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/map-reloads-each-time-switching-back-to-map-scene/m-p/1362728#M739</link>
      <description>&lt;P&gt;In our app, we have a few different scenes and each time we switch back to the scene that contains the map, it refreshes which causes it to disappear briefly and then redraw.&amp;nbsp; We can modify&amp;nbsp; the ArcGISMapCompnent.OnEnable() method to by pass the&amp;nbsp;InitializeArcGISMap() as follows, and it solves our issue:&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;if(View.Map ==null)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;I&lt;/SPAN&gt;nitializeArcGISMap();&lt;/P&gt;&lt;P&gt;But...&amp;nbsp; since that class is located in the PackageCache, it is not the best place to make custom changes for obvious reasons.&amp;nbsp; Is there any other way or setting that we can use to instruct the map not to reload?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 18:59:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/map-reloads-each-time-switching-back-to-map-scene/m-p/1362728#M739</guid>
      <dc:creator>ChrisRenzi</dc:creator>
      <dc:date>2023-12-19T18:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Map reloads each time switching back to map scene</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/map-reloads-each-time-switching-back-to-map-scene/m-p/1362736#M740</link>
      <description>Try adding a dummy script to the root game object and set it to not destroy on load.&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Dec 2023 19:06:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/map-reloads-each-time-switching-back-to-map-scene/m-p/1362736#M740</guid>
      <dc:creator>ChrisAnderson7</dc:creator>
      <dc:date>2023-12-19T19:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Map reloads each time switching back to map scene</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/map-reloads-each-time-switching-back-to-map-scene/m-p/1362772#M741</link>
      <description>&lt;P&gt;Great idea, but I tried it and the map still reloads.&amp;nbsp; To give you more info, the scene that holds the map is an additive scene and is never destroyed when switiching scenes.&amp;nbsp; I was hoping maybe there was a setting on the MapComponent to enable/disable map refresh, but it seems there isn't?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 19:50:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/map-reloads-each-time-switching-back-to-map-scene/m-p/1362772#M741</guid>
      <dc:creator>ChrisRenzi</dc:creator>
      <dc:date>2023-12-19T19:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Map reloads each time switching back to map scene</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/map-reloads-each-time-switching-back-to-map-scene/m-p/1543823#M986</link>
      <description>&lt;P&gt;Did you end up finding a better solution for your problem?&lt;BR /&gt;I'm currently encountering the same behavior, and would be interested in a fix.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 15:32:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/map-reloads-each-time-switching-back-to-map-scene/m-p/1543823#M986</guid>
      <dc:creator>HuesserC</dc:creator>
      <dc:date>2024-09-30T15:32:39Z</dc:date>
    </item>
  </channel>
</rss>

