I have the same issue also on Linux.. Manjaro I have spent ages assuming its a mod conflict issue but it seems to be a dot net 7 issue still trying to figure it out...
if you remove all mods that have custom code it works fine... its compiling the custom code that causes the issue for me...
And it used to work just fine for ages, It just stoped working one day and don't remember changing or updating anything.