TrueNAS 25.10.0 showing empty folder through SMB share

It’s most likely the same bug as this, or at least related to it. The subject also has a comment with a potential fix you could try