Sun flare occlusion not working properly

Hi everyone! I’m having a problem with HDRP Sample Scene on Unity 2021.3. I added Lens Flare (SRP) component on directional light. It is working, but it is no occluded by the walls and ceiling. Like in this video, I enable Occlusion checkbox, but in this case the flare isn’t displayed at all, even on a clear space without any meshes. What am I doing wrong?

By some manipulations I realised that Anti-aliasing method is affecting on sun flare and all flares in general. When TAA and flare occlusion are enabled, the flares aren’t working. With any different type of Anti-aliasing flares are working. Could someone explain why this is happening?