I had this problem now in multiple assemblies:
The model needs update.
Please rebuild the model to calculate mass properties.
I cannot publish the assemblies due to company policy, but this problem seems to occur randomly. Sometimes opening the possible culprit assembly solves the problem - sometimes it does not. Sometimes multiple rebuilds solve the problem.
Is there anything I should look out for to prevent this? Is there a common mistake that causes this?
I can open each part/assembly & sum up the masses of those manually, but that is a crazy amount of work.
How do you deal with issues like that?

Yes, the assembly structure is assemblies within assemblies.
I do not know though which part causes the problem (so it is usually a single part?) - it does not show a rebuild 'traffic light' anywhere.
Lauritz, So my question is the model used in multiple assembly, correct? or may be the part updated in one of the assembly? if it is then I may believe the part require to update in its own separate file.
Lauritz (and whoever lands here next),
I was having the same problem in SW2021 SP3. I just spent about 30min fumbling through this (including a call to my support provider (Goengineer)) I was able to identify the offending subassembly by doing a binary search. I suppressed the bottom half of the assembly tree and then checked the mass. It gave me a mass so I unsuppressed the bottom half and suppressed the top half. This gave me the 'model needs update' message. By suppressing and unsuppressing half of the remaining subassemblies I was able to idenfity the offending subassembly in a couple of minutes. When I opened it, checked the mass, closed and saved it had the 'stop light' rebuild icon in the parent. I unspressed everything, did a Ctrl-B rebuild and got a mass.
jh