なんだが

but; though

→ だ
phrase Uncommon #16,718
but; though Often leaves the rest of the thought unstated or softens an introduction. The polite form is なんですが.
JA: アンタの言うとおりなんだが、俺たちは一緒に行くぜ。
EN: You’re right, but we’re going together.

彼は本当にいい奴なんだが、私は彼が好きではない。

He’s a really nice guy, but I don’t like him.

この重要なことが…日記にあったはずなんだが…

This important thing... It should have been in the diary...

— アトランティス 失われた帝国 (2001)

アンタの言うとおりなんだが俺たちは一緒に行くぜ

You're right, but we're going together.

— ロード・オブ・ザ・リング/王の帰還 (2003)

そのことなんだが

About that...

— ブレット・トレイン (2022)