Pathfinding CustomPass Forward Render MSAA HDRP

Hello, I didn’t find any topics about this problem, but if there are any, I apologize.
Unity 2022.3.15f1 and newer (tested on 3.18 and 3.19)
A* version 4.3.91 and newer

I have problem when using camera settings like this:

Lit Shader Mode: Forward
MSAA Within Forward: MSAAX2(any enabled)
CustomPass: On

I get an error: “Color and Depth buffer MSAA flags doesn’t match, no rendering will occur.”

I have tested it on a fresh project. What I found out is that this is only a problem in the editor, everything works fine when built, so this is probably related to displaying graphs in the editor. Technically, it’s not a problem, I can only enable MSAA for builds, but is there a way to repair it?