# vray environment variable error vray maya 2014, nightly build vray\_22501\_23192

**URL:** <https://forums.chaos.com/t/vray-environment-variable-error-vray-maya-2014-nightly-build-vray-22501-23192/45726>\
**Category:** Issues\
**Created:** [July 10, 2013, 12:58pm UTC](https://forums.chaos.com/t/vray-environment-variable-error-vray-maya-2014-nightly-build-vray-22501-23192/45726 "2013-07-10T12:58:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![t.petrov](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@t.petrov](https://forums.chaos.com/u/t.petrov)\
**Post date:** [July 10, 2013, 2:59pm UTC](https://forums.chaos.com/t/vray-environment-variable-error-vray-maya-2014-nightly-build-vray-22501-23192/45726/3 "2013-07-10T14:59:00Z")

</div>

> [@tinuz](#):
>
> so could this be in the nightly build?  
> we like to update our maya to 2014 but we need vray so any news on a official release? 🙂

For an official release we have to fix this bug first: [http://www.chaosgroup.com/forums/vbulletin/showthread.php?72617-Maya-2014-crash-with-vray-distributed-rendering](http://www.chaosgroup.com/forums/vbulletin/showthread.php?72617-Maya-2014-crash-with-vray-distributed-rendering)

> [@tinuz](#):
>
> Starting “C:\Program Files\Autodesk\Maya2014\bin\mayabatch.exe”  
> --- Attaching to process stdout stream ---  
> file -f -typ “mayaBinary” -o “//tikola/Smedge/m/mediamonks\_films/projects/maya\_scriptingTz/2\_creation/maya/scenes/vraymaya2014.mb”;addRecentFile(“//tikola/Smedge/m/mediamonks\_films/projects/maya\_scriptingTz/2\_creation/maya/scenes/vraymaya2014.mb”, “mayaBinary”);  
> Error: line 1: Could not read V-Ray environment variable “VRAY\_FOR\_MAYA2014\_MAIN\_x64”. Please re-install.
> 
> Error: line 1: Unable to dynamically load : C:/Program Files/Autodesk/Maya2014/vray/plug-ins/vrayformaya.mll  
> Invalid access to memory location.
> 
> …
> 
> nightly build  
> vray\_22501\_23192  
> vray\_adv\_22501\_maya2014\_x64.exe

How do start the mayabatch.exe? Are you sure these tool that starts mayabatch.exe has the same env and preserves it?  
Have you logged out and then logged in after you’ve installed maya. Sometimes these to operations are needed in order to get a working installation.

---

_[View the full topic](https://forums.chaos.com/t/vray-environment-variable-error-vray-maya-2014-nightly-build-vray-22501-23192/45726)._
