Is that the batching queue of prepass just a duplicate of the original opaque surface pass since the batches of prepass queue exactly the same and notes fails caused by “different keyword” no matter the keywords actually they are using?
Also, the renderpass’s stencil override won’t rebatch the batches that are already interrupted by device stage change.
The version is 2021.3.15f.