If an element in the new Document for a cross-document transition has content-visibility: auto, it's view-transition-name is skipped. This is because the algorithm to look for names runs before the first rendering loop on the new Document. And the initial state of elements with content-visibility: auto is computed as a part of update the rendering here.
The simple fix would be to force the determination of this state if a Document has an incoming cross-document ViewTransition.
@vmpstr @argyleink @noamr @nt1m