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
- 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
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
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.