ViveSoftware/ViveInputUtility-Unity

Override Shader Doesn't Work for OpenXR

unoctium1 opened this issue · 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

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 567fbb2