<?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: Manipulate layer attributes and set the color correctly in Editor but not Windows Build in ArcGIS Maps SDK for Unity Questions</title>
    <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/manipulate-layer-attributes-and-set-the-color/m-p/1262967#M460</link>
    <description>&lt;P&gt;A quick follow-up to my own issue, it all about my careless mistake by declaring a local processor in the loop&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#993300"&gt;var attributeProcessor = new Esri.GameEngine.Attributes.ArcGISAttributeProcessor();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;where in the sample, attributeProcessor is a private global&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 10:47:03 GMT</pubDate>
    <dc:creator>dun82</dc:creator>
    <dc:date>2023-03-01T10:47:03Z</dc:date>
    <item>
      <title>Manipulate layer attributes and set the color correctly in Editor but not Windows Build</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/manipulate-layer-attributes-and-set-the-color/m-p/1262955#M459</link>
      <description>&lt;P&gt;My project follows the 3DAttributeSample and rewrites the shader. Everyhing is fine when debugging in the editor window but once the project is built, errors below is found.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ArgumentException: GCHandle value belongs to a different domain&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at System.Runtime.InteropServices.GCHandle.op_Explicit (System.IntPtr value) [0x00020] in &amp;lt;75633565436c42f0a6426b33f0132ade&amp;gt;:0 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at Esri.GameEngine.Attributes.ArcGISAttributeProcessorEventHandler.HandlerFunction (System.IntPtr userData, System.IntPtr layerAttributes, System.IntPtr visualizationAttributes) [0x0000e] in &amp;lt;662af139e46c429db3d72180a9332d24&amp;gt;:0 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at (wrapper native-to-managed) Esri.GameEngine.Attributes.ArcGISAttributeProcessorEventHandler.HandlerFunction(intptr,intptr,intptr)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Appreciated if anyone can give me a hint. Thank you so much.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:06:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/manipulate-layer-attributes-and-set-the-color/m-p/1262955#M459</guid>
      <dc:creator>dun82</dc:creator>
      <dc:date>2023-03-01T10:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulate layer attributes and set the color correctly in Editor but not Windows Build</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/manipulate-layer-attributes-and-set-the-color/m-p/1262967#M460</link>
      <description>&lt;P&gt;A quick follow-up to my own issue, it all about my careless mistake by declaring a local processor in the loop&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#993300"&gt;var attributeProcessor = new Esri.GameEngine.Attributes.ArcGISAttributeProcessor();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;where in the sample, attributeProcessor is a private global&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:47:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/manipulate-layer-attributes-and-set-the-color/m-p/1262967#M460</guid>
      <dc:creator>dun82</dc:creator>
      <dc:date>2023-03-01T10:47:03Z</dc:date>
    </item>
  </channel>
</rss>

