Bug Report B-Frame Reference Mode Doesn't Work FFmpeg Nvenc

Apparently there is a bug in current FFmpeg version that obs is using. Nvenc B-Frame Reference Mode doesn't work.
When it is enabled my recording starts and after 2 seconds drop's bitrate to zero. If i try to stop recording, UI button just freezes and i have to kill obs process.
Without this setting everything works well.
I'm using Xaymar's FFmpeg plugin.

It would be nice if this could get fixed because this flag helps compression.