<?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: Issue with MaterialReference in ArcGIS Maps SDK 2.3 in ArcGIS Maps SDK for Unity Questions</title>
    <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/issue-with-materialreference-in-arcgis-maps-sdk-2/m-p/1713806#M1231</link>
    <description>&lt;P&gt;I am not aware of something related to material reference changing between 2.2 and 2.3. I tested our&amp;nbsp;&lt;A href="https://developers.arcgis.com/unity/sample-code/Viewshed/" target="_self"&gt;viewshed&lt;/A&gt; sample, which uses material reference, with 2.3 and didn't see an issue. Maybe something that the material references for assigning the color was changed?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2026 02:22:47 GMT</pubDate>
    <dc:creator>AShahbaz</dc:creator>
    <dc:date>2026-07-10T02:22:47Z</dc:date>
    <item>
      <title>Issue with MaterialReference in ArcGIS Maps SDK 2.3</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/issue-with-materialreference-in-arcgis-maps-sdk-2/m-p/1706744#M1228</link>
      <description>&lt;P&gt;Hi there...&lt;/P&gt;&lt;P&gt;I'm currently migrating Unity projects from ArcGIS Maps SDK for Unity 2.2 to version 2.3 and I ran into an issue.&lt;/P&gt;&lt;P&gt;There are some projects that rely on MaterialReference like in the code snippet below&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;zurichTreesLayer = new ArcGIS3DObjectSceneLayer(treeLayerSource, treeLayerName, treeLayerOpacity, treeLayerVisibility, arcGISMapsApiKey);

        zurichTreesLayer.MaterialReference = Resources.Load&amp;lt;Material&amp;gt;("Materials/GreenMaterial");

        zurichTreesLayer.IsVisible = treeLayerVisible;

        arcGISMap.Layers.Add(zurichTreesLayer);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works perfectly fine in 2.2 (the trees are green, using the sourced green material) but this doesn't work any more in 2.3 (trees are white)&lt;/P&gt;&lt;P&gt;Please check out the screenshots to see how this is rendered in Play Mode&lt;/P&gt;&lt;P&gt;Version 2.2&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Zurich_2.2.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/153533i3367D5FC138166BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zurich_2.2.jpg" alt="Zurich_2.2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Version 2.3&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Zurich_2.3.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/153535i2003094ACDEDAF41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zurich_2.3.jpg" alt="Zurich_2.3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like something has changed between 2.2 and 2.3&lt;/P&gt;&lt;P&gt;I'm running Windows 11 Pro, Unity 6000.3.16f1 and ArcGIS Maps SDK 2.3&lt;/P&gt;&lt;P&gt;Any ideas are very much appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;P&gt;Winfried&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2026 15:13:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/issue-with-materialreference-in-arcgis-maps-sdk-2/m-p/1706744#M1228</guid>
      <dc:creator>ws4945894</dc:creator>
      <dc:date>2026-06-07T15:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with MaterialReference in ArcGIS Maps SDK 2.3</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/issue-with-materialreference-in-arcgis-maps-sdk-2/m-p/1713806#M1231</link>
      <description>&lt;P&gt;I am not aware of something related to material reference changing between 2.2 and 2.3. I tested our&amp;nbsp;&lt;A href="https://developers.arcgis.com/unity/sample-code/Viewshed/" target="_self"&gt;viewshed&lt;/A&gt; sample, which uses material reference, with 2.3 and didn't see an issue. Maybe something that the material references for assigning the color was changed?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2026 02:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/issue-with-materialreference-in-arcgis-maps-sdk-2/m-p/1713806#M1231</guid>
      <dc:creator>AShahbaz</dc:creator>
      <dc:date>2026-07-10T02:22:47Z</dc:date>
    </item>
  </channel>
</rss>

