<?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: Can't assign shaders - error parsing arguement in Maya Forum</title>
    <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10080041#M56433</link>
    <description>&lt;P&gt;I found this thread for the "error while parsing arguments" when trying to assign another shader. I'm working in Maya 2020 with render layers, which I hear is sometimes connected to this issue...This bug still exists. Unlinking all of my shaders is a huge hassle, and would rather go back to an old file and lose an hour of work. Really hope this bug gets fixed.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Feb 2021 02:10:39 GMT</pubDate>
    <dc:creator>gferra21</dc:creator>
    <dc:date>2021-02-13T02:10:39Z</dc:date>
    <item>
      <title>Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/6988708#M56426</link>
      <description>&lt;P&gt;Maya 2017 has a bug where sometimes a shader will randomly get corrupted, with any attempt to apply a different shader to the object its on resulting in the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;// Warning: line 1: Node 'polySurfaceShape21921.instObjGroups[0]': cannot make assignment to 'rs_woodSG1' shader. // 
// Error: line 1: Error while parsing arguments. // &lt;/PRE&gt;
&lt;P&gt;The only solution I've found is deleting the shading network &amp;amp; making a new one. Just more 2017 buggy bullcrap. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 02:47:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/6988708#M56426</guid>
      <dc:creator>arcon76</dc:creator>
      <dc:date>2017-04-01T02:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/6990587#M56427</link>
      <description>&lt;P&gt;Do you have an archive (File &amp;gt; Archive Scene) of a scene that exhibits this behaviour that you can share with us?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From my experience we have seen this happen with scenes that have nested references and/or multiple render layers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have a ticket open with development for what I believe is the same issue but it's still under investigation so we would like as much data as we possible.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 05:04:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/6990587#M56427</guid>
      <dc:creator>BenBisares</dc:creator>
      <dc:date>2017-04-03T05:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/6990632#M56428</link>
      <description>&lt;P&gt;try deleting the history and assign the labert1 shader first...&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 06:05:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/6990632#M56428</guid>
      <dc:creator>Christoph_Schaedl</dc:creator>
      <dc:date>2017-04-03T06:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/7039369#M56429</link>
      <description>&lt;P&gt;Hi sorry for the extreme delay in my reply. The behaviour seemed to correct itself as I progressed the project (I should've saved a version with the fault lol), however I will keep an eye out for it on my next project and report back here if I see it again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 23:56:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/7039369#M56429</guid>
      <dc:creator>arcon76</dc:creator>
      <dc:date>2017-04-24T23:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/9290002#M56430</link>
      <description>&lt;P&gt;hey&lt;/P&gt;&lt;P&gt;create a copy of this file&amp;nbsp;&lt;/P&gt;&lt;P&gt;and unlink your all shader connection by using this script.&lt;/P&gt;&lt;PRE&gt;global proc unlinkall()
{
string $lsm[] = `ls {"_UNKNOWN_REF_NODE_*"}`;
catchQuiet(`delete $lsm`);

string $objs[] = `ls -type mesh-long -type shape`;
int $i=0;
int $j=0;
int $m=0;
int $k=0;
for($i=0;$i&amp;lt;size($objs);$i++)
{
int $chk=`gmatch $objs[$i] "*Ctrl*"`;
if ($chk==0)
{
string $cons2[]=`listConnections -type "shadingEngine" -p true -s true $objs[$i]`;
for($j=0;$j&amp;lt;size($cons2);$j++)
{
string $cons3[]=`listConnections -p true -s true $cons2[$j]`;
catchQuiet(`disconnectAttr $cons2[$j] $cons3[0]`);
catchQuiet(`disconnectAttr $cons3[0] $cons2[$j] `);
} 
} 
}
}&lt;BR /&gt;unlinkall();&lt;/PRE&gt;&lt;P&gt;After asign lambert1.&lt;/P&gt;&lt;P&gt;and do shader transfer from old file.&lt;/P&gt;&lt;P&gt;problem will solve.. if still there is any issue feel free to ping me&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 08:01:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/9290002#M56430</guid>
      <dc:creator>creationasif</dc:creator>
      <dc:date>2020-02-01T08:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/9476355#M56431</link>
      <description>&lt;P&gt;This is not solution! The soultion is repair the bug in SG itself. Problem usualy appear when you copy shader with shading group and try assign it to different model. But i never notice this bug when i copy only shader without shading group. The best solution for non destructive way is delete SG and assign again shader to object, then the new SG create automaticly and everything works fine. The bug exist since maya 2012 even earlier I think. It's very anoying, appear not often, but when it appear it could mess all scene file. I dont know why somebody in autodesk dont notice that.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 12:57:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/9476355#M56431</guid>
      <dc:creator>resorsky</dc:creator>
      <dc:date>2020-04-28T12:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/9480464#M56432</link>
      <description>&lt;P&gt;And it's still happening in Maya 2018.. exact same issue, same solution. When I duped a shading network and assigned it to a different object, I got exactly same msg - error parsing argument. So I just had to delete the new SG and assign different texture or rebuild the SG on my own.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 17:35:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/9480464#M56432</guid>
      <dc:creator>rockyhCU7BB</dc:creator>
      <dc:date>2020-04-29T17:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10080041#M56433</link>
      <description>&lt;P&gt;I found this thread for the "error while parsing arguments" when trying to assign another shader. I'm working in Maya 2020 with render layers, which I hear is sometimes connected to this issue...This bug still exists. Unlinking all of my shaders is a huge hassle, and would rather go back to an old file and lose an hour of work. Really hope this bug gets fixed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2021 02:10:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10080041#M56433</guid>
      <dc:creator>gferra21</dc:creator>
      <dc:date>2021-02-13T02:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10731228#M56434</link>
      <description>&lt;P&gt;The bug is still here in 2022.2. I get it all the time -&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":weary_face:"&gt;😩&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":weary_face:"&gt;😩&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":weary_face:"&gt;😩&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 21:08:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10731228#M56434</guid>
      <dc:creator>tnZADWX</dc:creator>
      <dc:date>2021-11-02T21:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10743676#M56435</link>
      <description>&lt;P&gt;Encountered this bug in 2022 with duplicated shader graphs. Huge time waster. Thanks for the thread though glad to see users are at least tracking this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 21:54:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10743676#M56435</guid>
      <dc:creator>sarawilde7</dc:creator>
      <dc:date>2021-11-08T21:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10843921#M56436</link>
      <description>&lt;P&gt;Here's another report of this happening in 2022.3 while assigning an existing ai_StandardSurface material to multiple objects.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 01:03:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10843921#M56436</guid>
      <dc:creator>Henrik_Cederblad</dc:creator>
      <dc:date>2021-12-27T01:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10971434#M56437</link>
      <description>&lt;P&gt;Have had issues with this since maya 2015. There is some funky stuff going on with how Shadinggroup Sets are connecting to nodes atleast.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 09:05:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/10971434#M56437</guid>
      <dc:creator>tommie.christiansen</dc:creator>
      <dc:date>2022-02-25T09:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11005336#M56438</link>
      <description>&lt;P&gt;Had this issue when I was using cmds.createNode('shadingGroup' etc....&amp;nbsp; to create the shading group&lt;/P&gt;&lt;P&gt;Soon as I changed it to some of my older scripts which used:&lt;/P&gt;&lt;P&gt;cmds.sets(empty=True, renderable=True,noSurfaceShader=True, name=name+'SG');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could start assigning via cmds.hyperShade(a='Material Name')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 05:02:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11005336#M56438</guid>
      <dc:creator>ktplive</dc:creator>
      <dc:date>2022-03-15T05:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11095299#M56439</link>
      <description>This was exactly the issue! Thanks!</description>
      <pubDate>Sat, 09 Apr 2022 13:34:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11095299#M56439</guid>
      <dc:creator>joshoantonio</dc:creator>
      <dc:date>2022-04-09T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11296366#M56440</link>
      <description>&lt;P&gt;I fixed by exporting the object as obj and importing it back into the scene. This is how he dissociates itself from the SG&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 04:59:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11296366#M56440</guid>
      <dc:creator>ingemaryinsturain</dc:creator>
      <dc:date>2022-07-14T04:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11317445#M56441</link>
      <description>&lt;P&gt;Late reply, but hopefully it will help users encountering the same issue.&lt;BR /&gt;&lt;BR /&gt;We had this issue in Maya 2020, but it does not seem to be related to the version of Maya, as it is still happening in Maya 2022.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Found out that (in my case) the issue was related to the shading group not being connected to a render partition.&lt;/P&gt;&lt;P&gt;Don't know how this happened, but it seems to have been corrupted somewhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By adding the connection to the SG,&amp;nbsp;it solves the problem.&lt;/P&gt;&lt;P&gt;In MEL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;connectAttr "&amp;lt;SHADING_GROUP&amp;gt;.pa" ":renderPartition.st" -na;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where "&amp;lt;SHADING_GROUP" is the name/path of the shading group node.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;connectAttr "mainShaderSG.pa" ":renderPartition.st" -na;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, deleting and recreating a new SG also works, but sometimes you don't want to delete the nodes.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 02:16:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11317445#M56441</guid>
      <dc:creator>severinderek</dc:creator>
      <dc:date>2022-07-26T02:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11513274#M56442</link>
      <description>&lt;P&gt;I can't see the reason to keep making new versions of the software when stupid bugs like this won't be fixed. The same with the pivot snap issue that have been there for years. Come on, this is totally basic functions, we are paying money for this to work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 16:28:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11513274#M56442</guid>
      <dc:creator>infoLUD4N</dc:creator>
      <dc:date>2022-10-27T16:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11535990#M56443</link>
      <description>&lt;P&gt;+1 this is a super annoying bug I'm getting it every week at the moment&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 14:41:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11535990#M56443</guid>
      <dc:creator>tompainterbigman</dc:creator>
      <dc:date>2022-11-07T14:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11536002#M56444</link>
      <description>&lt;P&gt;todays version of this bug has something to do with namespaces for me, the script editor reads..&lt;/P&gt;&lt;P&gt;sets -e -forceElement A_v22cloth1:blinn3SG;&lt;/P&gt;&lt;P&gt;I can assign other materials just not this one&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 14:44:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/11536002#M56444</guid>
      <dc:creator>tompainterbigman</dc:creator>
      <dc:date>2022-11-07T14:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can't assign shaders - error parsing arguement</title>
      <link>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/12047809#M56445</link>
      <description>Life saver!</description>
      <pubDate>Tue, 20 Jun 2023 20:14:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/can-t-assign-shaders-error-parsing-arguement/m-p/12047809#M56445</guid>
      <dc:creator>matthias.richter</dc:creator>
      <dc:date>2023-06-20T20:14:40Z</dc:date>
    </item>
  </channel>
</rss>

