# initializePlugin function failed (vrayformaya)

**URL:** <https://forums.chaos.com/t/initializeplugin-function-failed-vrayformaya/101652>\
**Category:** Issues\
**Created:** [November 16, 2020, 7:40am UTC](https://forums.chaos.com/t/initializeplugin-function-failed-vrayformaya/101652 "2020-11-16T07:40:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![idea\_digital](https://avatars.discourse-cdn.com/v4/letter/i/8dc957/32.png) [@idea\_digital](https://forums.chaos.com/u/idea_digital)\
**Post date:** [November 16, 2020, 7:40am UTC](https://forums.chaos.com/t/initializeplugin-function-failed-vrayformaya/101652/1 "2020-11-16T07:40:35Z")

</div>

My computer runs well when I call up the V-ray plug-in.  
However, an error occurs when the plug-in manager unchecks vrayformaya.so and then checks it again.

In the script editor, “/usr/autodesk/maya2020/scripts/others/plungin.mel : line 317 initializeplugin function failed (vrayformaya)”  
print as

I reinstalled the V-ray, but it won’t be fixed.  
Tell me how to fix it.  
Thank you.

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [November 30, 2020, 4:17pm UTC](https://forums.chaos.com/t/initializeplugin-function-failed-vrayformaya/101652/2 "2020-11-30T16:17:25Z")

</div>

This is a known issue, however, there isn’t a solution for it at this point. We do not recommend force unloading the V-Ray plugin by hand; rather use the Auto-load option to control whether or not to load the plugin on Maya start.

---

<div class="post-metadata">

**Author:** ![arcmos](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@arcmos](https://forums.chaos.com/u/arcmos)\
**Post date:** [December 7, 2021, 7:38am UTC](https://forums.chaos.com/t/initializeplugin-function-failed-vrayformaya/101652/3 "2021-12-07T07:38:16Z")

</div>

Same here. I can select Vray in the Render settings, but no shelf and only auto-load can be checked.

Windows 10, Maya 2022.2, vray\_adv\_52000\_maya2022\_x64

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [December 15, 2021, 9:58am UTC](https://forums.chaos.com/t/initializeplugin-function-failed-vrayformaya/101652/4 "2021-12-15T09:58:03Z")

</div>

Is the vrayformaya plugin loaded? Is the loaded checkbox checked (next to auto-load)?  
If V-Ray is loaded, you can force re-create the shelf from the render settings \> settings \> V-Ray UI \> create/replace V-Ray shelf.
