A dynamic mark on an invisible staff sometimes excludes the measure from a multi-measure rest.
I’ve encounter a situation where a dynamic mark in a hidden part excludes the parent measure from a mutli-measure rest.
Setting the mark to invisible fails to remedy the situation (fails to include the measure in the multi-measure rest.) Seems like that should be a reasonable workaround.
Interestingly, once the p dynamic mark is removed it’s clear that pedal marks in the same measure do not interfere with the multi-measure. So I wonder why the dynamic is singled out as an offending citizen.
The consensus in this discussion cocludes that this is a bug and as of 2022-01-30 is not addressed by the v4 Nightly. Example score attached there.