ViveInputUtility-Unity icon indicating copy to clipboard operation
ViveInputUtility-Unity copied to clipboard

Override Shader Doesn't Work for OpenXR

Open unoctium1 opened this issue 4 years ago • 1 comments

Similar issue to #193 , except I'm having this issue with the OpenXR package instead of with Oculus, and I'm using HDRP instead of URP

Render Model Hook is set up as follows: image

However, the model appears pink in the scene, and inspecting the controllers at runtime shows they are using the standard shader instead of HDRP/Lit

I'm using Unity 2020.3.12, VIU 13.1.0, and OpenXR 1.2.2, and currently testing with Valve Index controllers

unoctium1 avatar Jun 24 '21 22:06 unoctium1

Just tested in Unity 2019.4.28 with the legacy OpenVR package, VIU 13.1.0, and it seems like shader overriding doesn't work there either, but it does seem to work with the Oculus package

Edit: After looking into it a bit more, looks like the shader overriding got taken out in 567fbb245904f8bbee724189391e28d9ca2f7dfe

unoctium1 avatar Jun 25 '21 00:06 unoctium1