<?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 Crashing when using utility node and MRenderUtil's sampleShadingNetwork and filling the Cache in the Background in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/crashing-when-using-utility-node-and-mrenderutil-s/m-p/13651520#M17977</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-05-19 190233.png" style="width: 578px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1537588iD4DDE4EFF1FAA38E/image-dimensions/578x213?v=v2" width="578" height="213" role="button" title="Screenshot 2025-05-19 190233.png" alt="Screenshot 2025-05-19 190233.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a deformer that samples the input texture using &lt;SPAN&gt;MRenderUtil::sampleShadingNetwork&lt;/SPAN&gt;. But when there is the combination of a time element and a texture followed by a utility node like the Reverse node (also had the same issues with plusMinusAverage node) directly connected to the deformer I usually get a crash when toggling on/off Cache Playback, invalidating the cache, or moving to another spot on the timeline.&lt;BR /&gt;&lt;BR /&gt;The crash only occurs when filling the cache in the background. When Cache Fill setting is on Playback it is fine. Serial or Parallel Evaluation and GPU override on or off doesn't seem to matter. Additionally, the removal of the utility node or the addition of another Texture node in between the utility node and the deformer will prevent a crash from occurring.&lt;BR /&gt;&lt;BR /&gt;So something like this will work:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-05-19 200021.png" style="width: 574px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1537631i9EF03005C3D1FB99/image-dimensions/574x279?v=v2" width="574" height="279" role="button" title="Screenshot 2025-05-19 200021.png" alt="Screenshot 2025-05-19 200021.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The Texture node in between the Reverse and the Deformer in the above case doesn't do anything, just pass input colour as output colour.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Are the output or evaluation during background from Utility nodes like Reverse and plusMinusAverage nodes different from Texture Nodes? If so, how should I account for that?&lt;/P&gt;</description>
    <pubDate>Tue, 27 May 2025 11:24:01 GMT</pubDate>
    <dc:creator>vares7</dc:creator>
    <dc:date>2025-05-27T11:24:01Z</dc:date>
    <item>
      <title>Crashing when using utility node and MRenderUtil's sampleShadingNetwork and filling the Cache in the Background</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/crashing-when-using-utility-node-and-mrenderutil-s/m-p/13651520#M17977</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-05-19 190233.png" style="width: 578px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1537588iD4DDE4EFF1FAA38E/image-dimensions/578x213?v=v2" width="578" height="213" role="button" title="Screenshot 2025-05-19 190233.png" alt="Screenshot 2025-05-19 190233.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a deformer that samples the input texture using &lt;SPAN&gt;MRenderUtil::sampleShadingNetwork&lt;/SPAN&gt;. But when there is the combination of a time element and a texture followed by a utility node like the Reverse node (also had the same issues with plusMinusAverage node) directly connected to the deformer I usually get a crash when toggling on/off Cache Playback, invalidating the cache, or moving to another spot on the timeline.&lt;BR /&gt;&lt;BR /&gt;The crash only occurs when filling the cache in the background. When Cache Fill setting is on Playback it is fine. Serial or Parallel Evaluation and GPU override on or off doesn't seem to matter. Additionally, the removal of the utility node or the addition of another Texture node in between the utility node and the deformer will prevent a crash from occurring.&lt;BR /&gt;&lt;BR /&gt;So something like this will work:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-05-19 200021.png" style="width: 574px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1537631i9EF03005C3D1FB99/image-dimensions/574x279?v=v2" width="574" height="279" role="button" title="Screenshot 2025-05-19 200021.png" alt="Screenshot 2025-05-19 200021.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The Texture node in between the Reverse and the Deformer in the above case doesn't do anything, just pass input colour as output colour.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Are the output or evaluation during background from Utility nodes like Reverse and plusMinusAverage nodes different from Texture Nodes? If so, how should I account for that?&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 11:24:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/crashing-when-using-utility-node-and-mrenderutil-s/m-p/13651520#M17977</guid>
      <dc:creator>vares7</dc:creator>
      <dc:date>2025-05-27T11:24:01Z</dc:date>
    </item>
  </channel>
</rss>

