diff --git a/Dependencies/xr/Source/ARKit/XR.mm b/Dependencies/xr/Source/ARKit/XR.mm index d1bf5f6fe..34d2e9aca 100644 --- a/Dependencies/xr/Source/ARKit/XR.mm +++ b/Dependencies/xr/Source/ARKit/XR.mm @@ -946,6 +946,8 @@ void UpdateXRView(MTKView* activeXRView) { // Finalize rendering here & push the command buffer to the GPU. [currentCommandBuffer commit]; + + [currentCommandBuffer waitUntilCompleted]; return std::make_unique(*this); }