Search Issue Tracker
Third Party Issue
Votes
0
Found in
2022.3.60f1
6000.0.45f1
6000.1.0b13
6000.2.0a8
Issue ID
UUM-101777
Regression
No
Xcode VisionOS builds fail with a "Circular dependency..." error when the used project is named "Metal"
How to reproduce:
1. Create and open a new project named “Metal”
2. Switch the Build Target to VisionOS
3. Build and Run the project on Xcode
4. Observe Xcode
Expected result: The Build is successful and the App is running
Actual result: The Build fails with “Circular dependency…” error
Reproducible with: 2022.3.60f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8
Reproducible on: macOS Sequoia 15.3.2 (M3 Pro), macOS M2 Pro (user’s)
Not reproducible on: Windows 11
Notes:
- Related Unity Discussions thread: [https://discussions.unity.com/t/circular-dependency-between-modules-metal-and-realityfoundation/1616884|https://discussions.unity.com/t/circular-dependency-between-modules-metal-and-realityfoundation/1616884]
- Not Reproducible on Windows 11 when using Vulkan Graphics API and naming the project Vulkan
- Not Reproducible with iOS and Standalone Build Targets
- Xcode full build fail error: /Users/[USERNAME]/Metal/TestVisionOS/Libraries/com.unity.xr.visionos/Runtime/Plugins/visionos/UnityMetalMainApp.swift Circular dependency between modules 'Metal' and 'RealityFoundation'
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "DateTime.Now" in the UK timezone does not adjust when the British Summer Time is active
- "Unsupported source texture format (7) in ComputeNextMipLevel" error is shown and the texture atlas is corrupted when the texture format "RGB Compressed ETC2 4bits" is selected
- The label that uses data binding is no longer updated at runtime when `INotifyBindablePropertyChanged` reloads updates of the VisualTreeAsset in UIDocument
- HDRP Graphics "High Quality Line Rendering" is missing a documentation link
- HDRP Graphics "Screen Space Global Illumination" has a link to a wrong documentation
Resolution Note:
We've investigated this issue and found that it comes from Apple somewhere specifically related to VisionOS.
During testing it was noted that it does not reproduce on Windows and does not affect Standalone or iOS builds using the same project and same conditions.