Access to additional light shadow data in custom shader

I believe there is a bug in Unity 6. You can use the manual method or wait for the fix