Avatar Shader Error — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Avatar Shader Error

MalicoreMalicore Posts: 35 Oculus Start Member
I've been getting these avatar errors in Unity for a little while now and I still can't figure it out.

Shader error in 'OvrAvatar/AvatarSurfaceShaderSelfOccluding': failed to open source file: 'Assets/OvrAvatar/Content/Materials/AvatarMaterialStateShader.cginc' at line 162 (on d3d11)

Shader error in 'OvrAvatar/AvatarSurfaceShader': failed to open source file: 'Assets/OvrAvatar/Content/Materials/AvatarMaterialStateShader.cginc' at line 128 (on d3d11)

The AvatarMaterialStateShader.cginc file is located in the same folder as the other shaders so I'm not sure why it can't be located.  I've tried over solutions I've found on these forums like preloading the shaders and switching to x86_64. I've also updated the SDK to 1.24. None of these things are helping.  Anyone else getting these errors in Unity?  I've also updated the SDK to 1.24 


Tagged:

Comments

  • MalicoreMalicore Posts: 35 Oculus Start Member
    Thank you so much for the help.  This resolved the issue I was having. 
  • wirelessxdreamerwirelessxdreamer Posts: 2 Oculus Start Member
    how was the issue resolved. The thread is missing that information.
  • timothyallantimothyallan Posts: 16
    NerveGear
    how was the issue resolved. The thread is missing that information.
    I've notice that a lot in these forums. There's a bunch of responses which talk about other posts which just aren't visible. I thought I was the only one! 
  • Ross_BeefRoss_Beef Posts: 170 Oculus Staff
    @wirelessxdreamer ; / @timothyallan
     -- can I confirm you're both still seeing this issue? 
Sign In or Register to comment.