Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/DevDunkStudio/Depth Shadows/Demo/Scenes/DepthShadowDemo.unity“ Scene
3. Double-click on the “ShadowPlane” GameObject in the Hierarchy window (Zoom in the Scene view if the shadow isn’t visible)
4. In the Inspector window, under the “Depth Shadows” component, change the Sample Type
5. Observe the shadow in the Scene view
Expected result: Material updates based on the selected Sample Type
Actual result: Material remains unchanged
Reproducible with: 2022.3.65f1, 6000.0.54f1, 6000.1.13f1, 6000.2.0b10, 6000.3.0a2
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Workaround: Manually disable all enum keywords before enabling the selected one (uncomment lines 202-204 in DepthShadow.cs)