Updated Houdini, V-ray no longer working

Vray worked fine until I changed the name of my PC and updated Houdini.

Getting the following errors:
Warning: Bad operator type when binding handles: Object/VRayNodeSunLight
Warning: Bad operator type when binding handles: Object/VRayNodeLightDirect

So I removed license server, reinstalled license server. Did the customize and checked both boxes to migrate data and bypass firewall.

I updated Houdini to the latest version since I was having Houdini license server issues (now fixed after contacting support) - I had these issues because I changed the name of my PC before returning the licenses.
My license shows online and activated but not in use. Houdini clearly is not recognizing v-ray though the shelf loads in it throws an error if I click anything.

I changed the name of my PC and logged in as a new user.

My houdini env shows:

# V-Ray for Houdini Begin
#
#VFH_ROOT=“C:\Program Files\vray_adv_50050_houdini18.5.408”

#VRAY_APPSDK=“${VFH_ROOT}/appsdk”
#VRAY_OSL_PATH=“${VRAY_APPSDK}/bin”
vray_ui_ds_path=“${VFH_ROOT}/ui”
#VFH_HOME=“${VFH_ROOT}/vfh_home”
#VFH_PATH=“${VFH_HOME}/bin;${VRAY_APPSDK}/bin”

path=“${VFH_PATH};${PATH}”
#HOUDINI_PATH=“${VFH_HOME};${HOUDINI_PATH}”

#HOUDINI13_VOLUME_COMPATIBILITY=1
#HDF5_DISABLE_VERSION_CHECK=1
#
# V-Ray for Houdini End

I see support is unavailable since it’s in Bulgaria. Help would be appreciated.

What Houdini build are you running?
looks like a Houdini/V-Ray version mismatch.

Houdini 18.5.499 - where is V-ray grabbing the houdini version number from?

Your paste from the original post says you have vray_adv_50050_houdini18.5.408 installed.
This won’t work with Houdini 499

Download a new build of V-Ray that is built for 499.

Yeah looks like 408 is the latest working build for v-ray - I installed 408 and appears to be working correctly- do you know if there is a way to force v-ray to look at the newer houdini?

Hey,

Builds for 18.5.499 are available:


Available both for V-Ray 5 and 4.3

Best,
David.

Looks like it renders ok but all my v-ray materials are broken and appear as ADD nodes instead of V-ray MTL Builder nodes.

Error running Python menu script in parameter,
Texture (/obj/Basecamp_Export_2_18_fbx1/materials/M_Arcade_Pinball_01_C/ogl_displacemap):
Traceback (most recent call last):
File “<stdin>”, line 11, in expression
IndexError: list index out of range

Don’t do that :roll_eyes:
Get the proper build for the H version your are using, they are available. Check the latest build dates folders:

Best,
David.

Thanks for your help David, I truly appreciate it! I found the builds here Chaos - tried the windows one and it didn’t work but now trying the one that says windows installer and appears to be installing the material library, crossing my fingers this works. No clue what I’ll do if all my shaders are broken. Probably go live under a bridge, haha.

No problem :slight_smile:

Your materials are not broken, it’s just the V-Ray nodes that are not recognized so they get replaced by something else.

tried the windows one and it didn’t work
Can you elaborate why it didn’t work?

The windows one I believe requires manual installation of the v-ray packages so I probably messed something up there.

Just ran the v-ray installer and updated my houdini.env to the new location that the installer put everything.

# V-Ray for Houdini Begin
#
#VFH_ROOT=“C:\Program Files\Chaos Group\V-Ray\Houdini 18.5.499”

#VRAY_APPSDK=“${VFH_ROOT}/appsdk”
#VRAY_OSL_PATH=“${VRAY_APPSDK}/bin”
vray_ui_ds_path=“${VFH_ROOT}/ui”
#VFH_HOME=“${VFH_ROOT}/vfh_home”
#VFH_PATH=“${VFH_HOME}/bin;${VRAY_APPSDK}/bin”

path=“${VFH_PATH};${PATH}”
#HOUDINI_PATH=“${VFH_HOME};${HOUDINI_PATH}”

#HOUDINI13_VOLUME_COMPATIBILITY=1
#HDF5_DISABLE_VERSION_CHECK=1
#
# V-Ray for Houdini End

It looks like only the scenes I was testing on with this whole process broke materials and broke V-ray ROPs but the rest of the scenes look like they work now!!!

Which is a huge relief and feels like I got out of jail. :slight_smile: Back to the grind. Thanks David you rock!!!

Glad to hear that everything is working for you now :smile:

Every scene you opened and saved while V-Ray was installed incorrectly will be wrong now, it’s just the way Houdini works. When you open a scene and you are missing some HDAs it will do the same.

Best,
David.