<?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 WebGL errors with 4.26.4 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-errors-with-4-26-4/m-p/1263223#M80437</link>
    <description>&lt;P&gt;I have updated my app from 4.25 to 4.26.4 and got a WebGL error&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;184WebGL: INVALID_OPERATION: useProgram: program not valid
72WebGL: INVALID_OPERATION: getUniformLocation: program not linked
@arcgis_core_views_SceneView.js?v=d508d2c9:25775 WebGL: too many errors, no more errors will be reported to the console for this context.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to narrow down the issues to &lt;A href="https://github.com/vicb/flyxc/blob/b7d58bd8d9d4b832df20240bab4a450c042a92e3/apps/fxc-front/src/app/components/3d/tracking3d-element.ts#L223-L224" target="_self"&gt;this code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The error is gone when those 2 lines are commented out.&lt;/P&gt;&lt;P&gt;Is this a bug in 4.26?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 19:42:45 GMT</pubDate>
    <dc:creator>VictorBerchet</dc:creator>
    <dc:date>2023-03-01T19:42:45Z</dc:date>
    <item>
      <title>WebGL errors with 4.26.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-errors-with-4-26-4/m-p/1263223#M80437</link>
      <description>&lt;P&gt;I have updated my app from 4.25 to 4.26.4 and got a WebGL error&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;184WebGL: INVALID_OPERATION: useProgram: program not valid
72WebGL: INVALID_OPERATION: getUniformLocation: program not linked
@arcgis_core_views_SceneView.js?v=d508d2c9:25775 WebGL: too many errors, no more errors will be reported to the console for this context.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to narrow down the issues to &lt;A href="https://github.com/vicb/flyxc/blob/b7d58bd8d9d4b832df20240bab4a450c042a92e3/apps/fxc-front/src/app/components/3d/tracking3d-element.ts#L223-L224" target="_self"&gt;this code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The error is gone when those 2 lines are commented out.&lt;/P&gt;&lt;P&gt;Is this a bug in 4.26?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 19:42:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-errors-with-4-26-4/m-p/1263223#M80437</guid>
      <dc:creator>VictorBerchet</dc:creator>
      <dc:date>2023-03-01T19:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: WebGL errors with 4.26.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-errors-with-4-26-4/m-p/1263227#M80438</link>
      <description>&lt;P&gt;The layer &lt;A href="https://github.com/vicb/flyxc/blob/b7d58bd8d9d4b832df20240bab4a450c042a92e3/apps/fxc-front/src/app/components/3d/map3d-element.ts#L149" target="_self"&gt;is created&lt;/A&gt; as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;this.gndGraphicsLayer = new GraphicsLayer({ elevationInfo: { mode: 'on-the-ground' } });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I remove the elevationInfo it starts working again. It seems like a bug the API.&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Mar 2023 19:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-errors-with-4-26-4/m-p/1263227#M80438</guid>
      <dc:creator>VictorBerchet</dc:creator>
      <dc:date>2023-03-01T19:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: WebGL errors with 4.26.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-errors-with-4-26-4/m-p/1263254#M80439</link>
      <description>&lt;P&gt;For some reason I can not reproduce on CodePen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/vicb-the-lessful/pen/vYzxZaW" target="_blank"&gt;https://codepen.io/vicb-the-lessful/pen/vYzxZaW&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 20:42:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-errors-with-4-26-4/m-p/1263254#M80439</guid>
      <dc:creator>VictorBerchet</dc:creator>
      <dc:date>2023-03-01T20:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: WebGL errors with 4.26.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-errors-with-4-26-4/m-p/1263274#M80440</link>
      <description>&lt;P&gt;I figured out the root cause. I had:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// https://community.esri.com/t5/arcgis-api-for-javascript-questions/3d-scene-view-slow-with-es-modules-from-4-21/m-p/1218085
externalRenderers.forceWebGLContext(1);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;In my code. Removing that fixed the issues.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What about adding an error log in 4.26? (or ignoring the call).&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Mar 2023 21:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-errors-with-4-26-4/m-p/1263274#M80440</guid>
      <dc:creator>VictorBerchet</dc:creator>
      <dc:date>2023-03-01T21:13:36Z</dc:date>
    </item>
  </channel>
</rss>

