Error in shader to package Book Of The Dead Environment

I downloaded the Book Of The Dead Environment package, with the materials to test some things, but this error is occurring in the shader (I have no experience coding shaders), (BotD_Common_ShaderGraph), it keeps returning the message: call to ‘tex3D’ is ambiguous Compiling Subshader: 1. I tried to recompile the shader to see if the problem goes away, and I also tried to reimport the project, but the same error still occurs.

I’m using unity version 2022.3.10f1. Does anyone know if it’s normal or if it’s just the Unity version that this error happens?
Thank you very much in advance.

Has it been resolved?

Hey! Did you find the solution? This error is driving me crazy…

I have the exact same issue here for XBox Series platform

The issue seems to be coming from the BotD_Common_ShaderGraph.hlsl file:


float SampleOcclusionProbes(float3 positionWS)
{
    // TODO: no full matrix mul needed, just scale and offset the pos (don't really need to support rotation)
    float occlusionProbes = 1;

    float3 pos = mul(_OcclusionProbesWorldToLocalDetail, float4(positionWS, 1)).xyz;

    UNITY_BRANCH
        if (all(pos > 0) && all(pos < 1))
        {
            occlusionProbes = tex3D(_OcclusionProbesDetail, pos).a;
        }
        else
        {
            pos = mul(_OcclusionProbesWorldToLocal, float4(positionWS, 1)).xyz;
            occlusionProbes = tex3D(_OcclusionProbes, pos).a;
        }

    return occlusionProbes;
}