Reproduction steps:
- Open the attached “IN-150312” project
- Build the XCode project (with Development Build enabled)
- Open XCode project and enable metal frame capture (Product > Scheme > Edit Scheme > Options > GPU Frame Capture > Metal)
- Build and deploy to iOS device
- In the Unity Memory Profiler, take a capture of the device
- In XCode take a GPU capture (press the 'M' button, then in the debug bar at the bottom of XCode window, click the GPU frame capture button)
- Compare _CameraDepthAttachment in both Unity and XCode memory profilers
Actual: The size in the (Unity) Memory Profiler is double
Expected: Sizes match in both profilers
Reproducible with: 1.1.12 (6000.6.0b7, 6000.7.0a3)
Testing environment: macOS 26.5.2
Reproducible with these devices:
VLNQA00634 - iPhone 15 Plus - CPU: Apple A16 Bionic, OS: 26.3