Hi.
I use unity project, version 5.2.2f1 in my xcode project. I use swift 2.3, xcode 7.3.1
I use this manual https://github.com/blitzagency/ios-unity5
on first run i get error MetalHelper.mm at line 95.. on next run all ok. Can you help me ? Thanks a lot.
my steps in AppDelegate :
in didFinishLaunchingWithOptions
1) create currentUnityController = UnityAppController().
2) currentUnityController.application(application, didFinishLaunchingWithOptions: launchOptions).
3) sendUnityMessages() with UI, language.
4) currentUnityController.startUnity(application)
in my viewController with unity carte:
in viewDidLoad:
1) setupUnityView
let unityView = UnityGetGLView()
view.addSubview(unityView)
2) viewWillAppear:
AppDelegate.sharedInstance.currentUnityController.applicationDidBecomeActive(application)
3 ) viewDidDissappear:
AppDelegate.sharedInstance.currentUnityController.applicationWillResignActive(application)
Crashlytics log attached.
http://prntscr.com/d5y20x
[link text][1]
[1]: /storage/temp/81960-comjaivendeeglobe-issue-8-crash-5e76302a51e848bfb7.txt
↧