Add Unity Project to existing VisionOS App

Hello,

As titled, my team is trying to find a way to add unity projects to our current developments. We have checked several posts and tutorials, but find they are all about porting to a brand new project.

Without modifying too much on our current swift codes, we wonder if we can add Unity part as a WindowGroup/ImmersiveSpace like the following? :)

struct TestVisionUnityApp: App {

    var body: some Scene {
        // from default template
        WindowGroup {
            ContentView()
                ....
        }

        // @TODO
        WindowGroup {...}
     }
}
Add Unity Project to existing VisionOS App
 
 
Q