Open Sinan-Noureddine opened 4 years ago
Temporary gross fix, using a delay: https://stackoverflow.com/questions/58893862/swiftui-and-unity/65827912#65827912
This should work with UIKit as well as SwiftUI
My attempt at making it work: https://github.com/DavidPeicho/unity-swiftui-example
Removing storyboard works for me
Just to bring more insight to this issue. With the latest SwiftUI system (wiith scenes) introduced in iOS 13, it looks like Unity doesn't hook its view anymore into the window. I have tried to manually add the view but I still can't manage to show it. Is there a workaround that would still allow to use the UIScenes system?