V-Ray Material Library materials - texture preview crashes Maya 2023

Whenever I try to change the view mode to “Textured” (that is press “6” on your keyboard), and a material from V-Ray Material Library is applied to my objects, Maya crashes straight away.

It only happens with those materials.

Just try it yourself: create a plane, apply a material from the V-Ray Library, press 6 on the keyboard. Crash.

Maya version: 2023.3

V-Ray version: 6.00.3 hotfix 1

This is quite bad, because it keeps us from previewing textures in the viewport, unless we don’t do it by launching an IPR.

Does anyone have a solution, or is it just a big annoying bug?

Thank you

Update regarding this issue.

I have completely uninstalled Arnold for Maya, because just disabling it was not enough ( some scenes forced Maya to turn Arnold back on, for some reasons ).

That seems to have fixed it.

So, if you find yourself in the same situation, don’t just disable Arnold, it won’t 100% work. Instead uninstall it completely with its uninstaller. This way the issue is gone.

Thank you

Hi @MannaTheBerserk , Thanks for posting this, and your solution. Have you found any other fixes, -not having to uninstall Arnold completely?

If it helps,
I did manage to get some success getting the Hypershade to open, other material preview related crashes from happening, etc.
-without having to completely uninstall all of Arnold;

Before opening the Hypershade (do this before anything else), I ran this MEL script;
------------------
setAttr “defaultRenderGlobals.currentRenderer” -type “string” “vray”;
------------------
The only limitation I’ve hit since, was to avoid turning on materials in the viewport (that will still crash Maya 2023);


The thing is the issue occurs even when V-Ray is disabled. The Material Library shaders’ .tx textures crash Arnold itself. Our devs have deduced that the issue is on the Autodesk side. I’ll speak to the project manager about contacting Autodesk directly.

EDIT: We’ve already contacted them (date of the original post) and have been periodically reminding them every few months of the issue. It’s up to them.

Hey All, just confirming that this issue still exists. I am having the same problem with Maya 2024 crashing when using VRay material library shaders.

Still exists…cant use cosmos assets and view ANY textures in my scene. Basically makes cosmos unusable since if I spend time trying to find the right assets, they might crash my scene when I need to work on the textures of other assets. I stopped using the materials from the material library browser for the same reason. Turn on viewport textures and the shot crashes. The presets and cosmos assets are not so essential that I can sacrifice ever turning on scene textures. I need to see the viewport textures to look dev my scene. In theory I can look dev the whole thing in Vray RT, but that also presents its own issues…some things dont update, some things make it crash.

Linking threads.​

Disabling the mtoa.mll (Arnold) should resolve the issue, however, I spoke to our QA team, which claim that the recent Arnold updates (5.5.0+) fixed the issue. I’ll report back when I test it out.

Which version of Maya + Vray is this fixed in? Im using Maya 2024.3 and Vray 6 2.2

Okay, just had a talk with the QAs about this. The crash was indeed fixed for Maya 2024 and Arnold 5.5.1.1, however, the texture preview is not. The thing is that Arnold is doing some overriding on our own .tx files, which is something we have no control over. This is why the only way to preview them is to disable Arnold completely.

I saw that simply unloading the mtoa plugin doesn’t unload everything Arnold-related. But this works: Find the Mtoa plugin, disable Auto Load, and restart Maya. Tested it with Maya 2024 and V-Ray 6.2.2.

Ive got a scene where I cant unload Arnold without it crashing, and I cant import some cosmos assets because Arnold…wtf.

Try unloading it on an empty scene, restarting Maya, and afterward opening the scene in question.

yeh I do that, but it seems to keep mtoa on in the rendering scene, no matter what. Its ok, Im pretty much done with the shot, just something for me to be aware of in the future.

UPDATE…I had a crash report after importing a cosmos asset, and Maya said to update Arnold, which I did. My recovered Maya file, which was saved during the crash would crash immediately upon reopen…now since Ive updated Arnold, it opens fine. So some of the cosmos crashing issues might be fixed if you update Arnold.