Several errors when building a development build. Works fine creating "normal" build

If I try to create a development build with profiler connected in Unity 2020.1.17f URP I get the following errors, all from Vfx graph:

In a normal (non-dev) build I can build just fine.

Did you try the same, but in 2020.3+? I mean you use unsupported version of unity, so even if this bug exists it will not be fixed or investigated. Meanwhile you can find something similar fixed in 10.4 changelog:

maybe this is the same issue.

My project breaks when I try to upgrade and have written Unity like 7 times about it without any support so not really possible atm.

I did figure out this bug only happens when I press “Build and run”, so easy to get around