<?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: Best way to include 3d objects/tile packages inside Unity build ? in ArcGIS Maps SDK for Unity Questions</title>
    <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1388550#M782</link>
    <description>&lt;P&gt;Glad to hear that, have fun!&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 07:33:03 GMT</pubDate>
    <dc:creator>ws4945894</dc:creator>
    <dc:date>2024-02-29T07:33:03Z</dc:date>
    <item>
      <title>Best way to include 3d objects/tile packages inside Unity build ?</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1387235#M777</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to build an application that is using 3 local packages to load with the ArcGIS Unity SDK.&lt;/P&gt;&lt;P&gt;In the ArcGISMapComponent I can specify the "source" field for each layer but it seems to only support absolute path. Is there a way to reference a package that could be located inside the Unity "Resources" folder for instance ?&lt;/P&gt;&lt;P&gt;I think I can still configure the map from a C# script and use relative paths there, but I would prefer to have everything configured with the map component if it's possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thankful for any help !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 07:29:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1387235#M777</guid>
      <dc:creator>anzago</dc:creator>
      <dc:date>2024-02-27T07:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to include 3d objects/tile packages inside Unity build ?</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1387239#M778</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;once I had a similar problem and got it resolved like that...&lt;/P&gt;&lt;P&gt;1) Create folder &lt;FONT face="courier new,courier"&gt;StreamingAssets&lt;/FONT&gt; (spelling matters!) on the same level as &lt;FONT face="courier new,courier"&gt;Scenes, Scripts&lt;/FONT&gt; and the like...&lt;/P&gt;&lt;P&gt;2) Use the following code snippet to access any files in folder &lt;FONT face="courier new,courier"&gt;StreamingAssets&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;string somePackageSlpkPath = Path.Combine(Application.streamingAssetsPath, "some_package.slpk");


ArcGIS3DObjectSceneLayer someLayer = new ArcGIS3DObjectSceneLayer(somePackageSlpkPath,
"SomeLayer", 1.0f, true, "");&lt;/LI-CODE&gt;&lt;P&gt;The trick is to use&lt;FONT face="courier new,courier"&gt;&amp;nbsp;Application.streamingAssetsPath&lt;/FONT&gt; which tells Unity to look into the &lt;FONT face="courier new,courier"&gt;StreamingAssets&lt;/FONT&gt; folder. This takes care of packaging any files in there into the build...&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Winfried&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 07:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1387239#M778</guid>
      <dc:creator>ws4945894</dc:creator>
      <dc:date>2024-02-27T07:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to include 3d objects/tile packages inside Unity build ?</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1387995#M779</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your solution is working great for my layers !&lt;/P&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 13:22:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1387995#M779</guid>
      <dc:creator>anzago</dc:creator>
      <dc:date>2024-02-28T13:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to include 3d objects/tile packages inside Unity build ?</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1388550#M782</link>
      <description>&lt;P&gt;Glad to hear that, have fun!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 07:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1388550#M782</guid>
      <dc:creator>ws4945894</dc:creator>
      <dc:date>2024-02-29T07:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to include 3d objects/tile packages inside Unity build ?</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1609184#M1107</link>
      <description>&lt;P&gt;Using the StreamingAssets folder solution works for displaying map layers offline, but the problem is the layers' visibility/opacity cannot be modified with script. For instance, the following code works when map layers are added using the Map Creator visual tool, but does not work when coding layers using the streaming assets path.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;layerName.APIObject.IsVisible = !layerName.APIObject.IsVisible;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 11:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/best-way-to-include-3d-objects-tile-packages/m-p/1609184#M1107</guid>
      <dc:creator>JasonSosebee</dc:creator>
      <dc:date>2025-04-25T11:06:36Z</dc:date>
    </item>
  </channel>
</rss>

