Chaos Corona Forum
General Category => [Archive] Chaos Corona for Maya => Porting and API => Chaos Corona for Maya - Bugs => Topic started by: ind3x77 on 2014-03-19, 11:58:25
-
After switching the renderer from vray to corona I receive the following error:
Error: file: C:/Program Files/Autodesk/Maya2014/scripts/others/createMayaSoftwareCommonGlobalsTab.mel line 1070: Object 'imageMenuMayaSW' not found. //
After that error rendering with corona works but the render settings tabs are complete empty.
(https://dl.dropboxusercontent.com/u/41656880/coronaToMaya/renderTabsEmpty.PNG)
After unloading corona in the plugin-manager, saving the file, reopen it and loading corona in the plugin manager the following error appears and the render settings tabs are still empty:
# Error: line 8: AttributeError: file C:\Program Files\Autodesk\Maya2014\Python\lib\site-packages\pymel\core\nodetypes.py line 332: nt.Unknown(u'coronaGlobals') has no attribute or method named 'imageFormat'
-
I found a solution or workaround by myself. I've deleted absolutly EVERYTHING deletable in Hypershade - in every tab. After saving and reopen the file Corona Render Settings works.
-
Okay, thanks for reporting this. I'll try so do some renderer switchting to test ist.
-
Ok, the bug is back :-) Same error, this time my workaroung doesn't solve the problem...
-
So what you have done is simply switching from vray to corona? Nothing else? Oh, and could you do me a favor and try to do the same with mentalray to see if it has something to do with vray?
thanks
-
Yes, a little scene, nor really much. The scene was created with vray renderer, vray mats, vray lights, vray env, vray fur and some vray object properties. I saved the scene in a new file and deleted everything I found with vray an switched the renderer to corona. Rendering works fine, but the render settings tab is complete empty an everytime I click on the icon the error appears.
I also tried creating a complete empty scene and imported the objects from the other file. Same error.
-
Just had a look. And indeed it does not work well with vray. It seems to work fine with most other renderers. I'll have to digg deeper in the way vray is using the UI what can take a while.
-
Good luck :-)
-
I created my own CommonGlobalsUi for the render globals window. Not really sure if it works and it is really hard because the origial mel code is quite comlicated and not really good coded.
-
Here's another error message associated with the empty UI settings tab..
# Error: line 2: KeyError: file C:\Program Files\Autodesk\Maya2014\Python\lib\site-packages\pymel\core\system.py line 517: renderData #
-
Do you have another renderer loaded like vray or arnold?
-
vray, mr, maya
-
I think I could solve the problem, more or less.
The reason for this hassle is that in some maya scripts the renderer names are hardcoded, which requires a modification of the original maya mel scripts which are responsible for loading the common globals tab in the render globals. Vray modifies this script. So if another renderer uses a different solution, it is possible that not all common globals are displayed as expected.