<?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 Memory leak when switching (unloading) a Scene in ArcGIS Maps SDK for Unity Questions</title>
    <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/memory-leak-when-switching-unloading-a-scene/m-p/1566007#M1037</link>
    <description>&lt;P&gt;I am creating a game for one of my Uni assignments in Unity. Currently, I am near finishing the project, and while testing I noticed that my memory had spiked up to 90% usage (of 16GB)&lt;BR /&gt;&lt;BR /&gt;I tracked down that it's likely caused by the ArcGISMap GameObject that is generated by the Tools &amp;gt; ArcGIS Maps SDK &amp;gt; Map Creator&lt;BR /&gt;&lt;BR /&gt;I have two scenes: one for the starting screen, featuring the Global map, antoher, for the main game.&lt;BR /&gt;When switching from whichever scene (both containing ArcGISMap GOs) memory usage increases anywhere between 80 MB and &amp;gt; 100MB, I've tested this with the steps written here (&lt;A href="https://docs.unity3d.com/Packages/com.unity.memoryprofiler@1.1/manual/find-memory-leaks.html#find-memory-leaks-that-happen-after-scene-unload" target="_blank"&gt;https://docs.unity3d.com/Packages/com.unity.memoryprofiler@1.1/manual/find-memory-leaks.html#find-memory-leaks-that-happen-after-scene-unload&lt;/A&gt;) as well.&lt;/P&gt;&lt;P&gt;I am using 1.6.0 version.&lt;/P&gt;&lt;P&gt;I have also ruled out everything else, because neither empty scenes cause any Memory Leaks, not other GameObjects besides ArcGISMap. Should be simple to reproduce this.&lt;/P&gt;</description>
    <pubDate>Sat, 07 Dec 2024 23:24:57 GMT</pubDate>
    <dc:creator>LukasVasiliauskas</dc:creator>
    <dc:date>2024-12-07T23:24:57Z</dc:date>
    <item>
      <title>Memory leak when switching (unloading) a Scene</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/memory-leak-when-switching-unloading-a-scene/m-p/1566007#M1037</link>
      <description>&lt;P&gt;I am creating a game for one of my Uni assignments in Unity. Currently, I am near finishing the project, and while testing I noticed that my memory had spiked up to 90% usage (of 16GB)&lt;BR /&gt;&lt;BR /&gt;I tracked down that it's likely caused by the ArcGISMap GameObject that is generated by the Tools &amp;gt; ArcGIS Maps SDK &amp;gt; Map Creator&lt;BR /&gt;&lt;BR /&gt;I have two scenes: one for the starting screen, featuring the Global map, antoher, for the main game.&lt;BR /&gt;When switching from whichever scene (both containing ArcGISMap GOs) memory usage increases anywhere between 80 MB and &amp;gt; 100MB, I've tested this with the steps written here (&lt;A href="https://docs.unity3d.com/Packages/com.unity.memoryprofiler@1.1/manual/find-memory-leaks.html#find-memory-leaks-that-happen-after-scene-unload" target="_blank"&gt;https://docs.unity3d.com/Packages/com.unity.memoryprofiler@1.1/manual/find-memory-leaks.html#find-memory-leaks-that-happen-after-scene-unload&lt;/A&gt;) as well.&lt;/P&gt;&lt;P&gt;I am using 1.6.0 version.&lt;/P&gt;&lt;P&gt;I have also ruled out everything else, because neither empty scenes cause any Memory Leaks, not other GameObjects besides ArcGISMap. Should be simple to reproduce this.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2024 23:24:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/memory-leak-when-switching-unloading-a-scene/m-p/1566007#M1037</guid>
      <dc:creator>LukasVasiliauskas</dc:creator>
      <dc:date>2024-12-07T23:24:57Z</dc:date>
    </item>
  </channel>
</rss>

