Dit is een hele knullige bug in Catalina sinds Security Update 2022-004, die Apple nog steeds niet opgelost heeft.
Je kunt als workaround bestandsdeling aanzetten via de terminal met het commando
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist
Als je daarna weer even Systeemvoorkeuren opent zul je zien dat het vinkje aan staat.