Forum Discussion
ImmersiveMatthew
3 years agoAdventurer
URGENT BUG: Meta Avatar v20.3 Library Shader Error (Needs Meta's Attention)
I have been getting the error below in my Unity 2022.3.11f1 project with the Oculus Integration v57, Oculus XR 4.1.1 and v20.3 of the Meta Avatars. I just created a fresh new project and only imported the above and am already getting the same error which indicates it was not my project in particular, but rather a bug in the Meta Avatars Library shader. Looks like sampler3D_float is not supported in this version of Unity based on my limited understanding of shaders. I have included the project where this error is occuring as I am hoping someone on the Meta Avatars team can look into this as it is causing me a lot of issues and crashes when I build.
Shader error in 'Avatar/Library': unrecognized identifier 'sampler3D_float' at Assets/Oculus/Avatar2/Scripts/ShaderUtils/OvrAvatarVertexFetch.hlsl(25) (on d3d11)
Compiling Subshader: 0, Pass: <Unnamed Pass 0>, Vertex program with MATERIAL_MODE_TEXTURE
Platform defines: SHADER_API_MOBILE UNITY_ASTC_NORMALMAP_ENCODING UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_RGBM_ENCODING UNITY_NO_CUBEMAP_ARRAY UNITY_NO_RGBM UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2
Disabled keywords: ENABLE_DEBUG_RENDER_ON ENABLE_HAIR_ON ENABLE_PREVIEW_COLOR_RAMP_ON ENABLE_RIM_LIGHT_ON EYE_GLINTS_ON HAS_NORMAL_MAP_ON INSTANCING_ON MATERIAL_MODE_VERTEX PROCEDURAL_INSTANCING_ON SHADER_API_GLES30 SKIN_ON UNITY_COLORSPACE_GAMMA UNITY_ENABLE_DETAIL_NORMALMAP UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_PBS_USE_BRDF1 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_VIRTUAL_TEXTURING _PALETTIZATION_SINGLE_RAMP _PALETTIZATION_TWO_RAMP
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device