Hi @Vision Pro Engineer
I've created a sample app and attached it to FB22014370.
The sample app contains a README file with repro steps and a description of the issue.
I initially created a simpler sample app, and in that app, the issue could actually be fixed using breakthroughEffect as you suggested. (Incidentally, breakthroughEffect does not appear to fix the issue in the simulator.)
However, in the actual app I'm working on, breakthroughEffect surprisingly did not solve the problem, and the cutout effect was still visible in that app.
Through trial and error, I discovered that breakthroughEffect does not appear to help for scenes that use ModelSortGroupComponent and which also contain more than one ModelEntity with ModelSortGroupComponent assigned, and for which view attachments are positioned beyond the center point of the bounding box of model entities with the shared ModelSortGroup, from the perspective of the camera.
This scenario is demonstrated in the sample app.
In the sample app's README file, I've also included specific questions about the behavior of transparent view attachments when used with scenes that use ModelSortGroupComponent.
I tried your OpacityComponent suggestion and the view attachment draw order I observed was the same as when I used the opacity view modifier.
I appreciate any assistance you can provide to help address the unwanted cutout effect issue.