Hi there,
I have a rig I'm referencing into multiple scenes. As soon as it's referenced in, I'm unable to open the Render Setup window.
Error: line 1: AttributeError: file C:\Program Files\Autodesk\Maya2018\Python\lib\site-packages\maya\app\renderSetup\model\renderSetup.py line 422: 'RenderSetup' object has no attribute '_defaultRenderLayer' //
I can open the render setup window and then open the scene file and the window remains, but that's not really a long-term solution.
I have't made any changes to the window (no layers, overrides, etc).
I have no trouble opening the render setup window in the rig file.
If I import the rig, sometimes I'm only able to open the Render Setup window about half the time.
I tried resetting my preferences but that didn't solve the issue. This happens on multiple machines, so a fresh install isn't the solution either.
I'd appreciate any ideas. I'm a bit at a loss at the moment.
Thanks!
-Lauren
Solved! Go to Solution.
Solved by ljadick. Go to Solution.
Solved by ljadick. Go to Solution.
Hi @ljadick
Does this happen on any other scene files?
You could try exporting everything as an fbx, import it into a fresh scene, save that and then reference it to see if anything changes.
Please let me know how that goes for you!
All the best,
Sean Heasley
Technical Support Specialist
Autodesk Here to Help | My Screencasts | Autodesk Virtual Agent | How To Reset User Settings | Installation and Licensing Forum | Maya Certified Hardware |
Thank you so much, Sean.
Actually, just discovered it was a namespacing issue!
Hi @ljadick
Glad you figured it out! Thanks for explaining what you did and marking it as the solution!
All the best,
Sean Heasley
Technical Support Specialist
Autodesk Here to Help | My Screencasts | Autodesk Virtual Agent | How To Reset User Settings | Installation and Licensing Forum | Maya Certified Hardware |
Enable "Use Namespaces" and select one of the "Use selected namespace" as options. "Merge into selected" caused this issue.
Yeah, this is not really a solution...
I guess we're supposed to import into a fresh scene, forcing us to use a namespace? I really don't want all of my nodes to be cluttered with the long name of my scene... Just to be able to use render layers. How are the two even connected?
Edit: I tried this and even though I can open the render setup window now, it now gives off errors constantly when switching layers:
// Error: AttributeError: file C:\Program Files\Autodesk\Maya2019\Python\lib\site-packages\maya\app\renderSetup\views\proxy\scene.py line 385: 'PySide2.QtCore.Signal' object has no attribute 'emit' //
And Maya ignores any overrides I add to the layer... There's always something going wrong in Maya 2019... ALWAYS. None of it is getting fixed, either.
Good job, Autodesk.
Unfortunately, After about 40 hours of troubleshooting, this was the only solution I was able to come up with. It's a pain, but it's worked every single time.
Are you able to add overrides to your render layers?
For me the overrides gets added to the render setup window, but the attributes don't turn orange and they don't change when I switch layers 😕
Hi, I am having the same issue that I merged the namespace...could you tell us where did you enable "use namespace"?
Right, so having composed a scene with references with mentioned referencing techniques prevents use of a render setup then? Because this is exactly how we've been putting together scenes for years, and it is unfeasible to revert this.
This is not a solved issue Autodesk; this is a bug that persists in Maya still.
Ive just encountered this....
I had to remove the reference. I cleared all namespaces in the scene, also in the reference file. I ran optimise scene and ticked all the options in the render scene and the reference. Deleted any extra "defaultlayers"
After clearing all of this I was able to bring the reference back in with "merge" selected to avoid silly long naming and render setup re-appeared. Im not sure exactly which thing it was that fixed it, but generally junking off lots of extra data and cleaning up assets helped.
This is now happening even on new scenes with no namespaces. Im using the "merge" option when referencing, and cleaning out all junk data in all scenes....but still getting the render setup error. AUTODESK! anyone fancy looking into this??!
Please mark this at NOT solved. Its driving me mad on Maya 2022 and is happening more and more with references. Makes my job literally impossible!
This Issue is still a problem. Is there a Autodesk solution coming so you can merge into namespace?
Can't find what you're looking for? Ask the community or share your knowledge.