Alpha clipping doesn't work for opaque objects

When on visionOS, if i create a shader which has an opaque surface type, alpha clipping won’t clip when it normally would on other platforms.

Attached is the view from editor where the cube is alpha clipped properly and another screenshot from the simulator showing the same scene where alpha clipping is not working.

Yes, I just noticed this when looking into another issue. A fix is in the pipeline, but in the meantime, if you use the “Transparent” surface type, you should get the effect you want. In visionOS, enabling alpha clipping (“opacityThreshold”) overrides transparency.