AmplifyCreations / AmplifyShaderEditor-Feedback

4 stars 0 forks source link

URP 6000.0.12 invalid subscript 'probeOcclusion' #326

Closed Dawie3565 closed 3 months ago

Dawie3565 commented 3 months ago

to replicate --- ASE v1.9.6.1 --- Unity 6000.0.12 URP 3D --- Open ASP v2.3.0 (example "Animated Fire")

this error cannot be triggered until settings are setup and changed as follows: --- install and set ASP settings image

with quality set "ASP Universal Render Pipeline Asset High Fidelity" --- fine Lighting / "Light Probe System and set it = "Adaptive Probe Volumes" image

Open Lighting settings and "Generate Lighting" -- check errors related to image

` #if defined(DYNAMICLIGHTMAP_ON) inputData.bakedGI = SAMPLE_GI(inputData.staticLightmapUV, inputData.dynamicLightmapUV.xy, inputData.vertexSH, inputData.normalWS);

elif !defined(LIGHTMAP_ON) && (defined(PROBE_VOLUMES_L1) || defined(PROBE_VOLUMES_L2))

            inputData.bakedGI = SAMPLE_GI(inputData.vertexSH,GetAbsolutePositionWS(inputData.positionWS),
                inputData.normalWS,
                inputData.viewDirectionWS,
                inputData.positionCS.xy,
                inputData.probeOcclusion,
                inputData.shadowMask);
            #else
            inputData.bakedGI = SAMPLE_GI(inputData.staticLightmapUV, inputData.vertexSH, inputData.normalWS);
            #endif`
diogovtx commented 3 months ago

Fixed in v1.9.6.2