I’m struggling with combining Unity and iOS native framework.
I’m following the way of subclassing as decribed here http://forum.unity3d.com/threads/unity-appcontroller-subclassing.191971/page-3
It worked well under unity4.5.3f + vuforia 3.0.9 .
But under unity 4.6.6p1 + vuforia 4.2.3 it's not working.
(To make my app 64bit compatible, I need to stick to this combination of the newest versions.)
Unityview has been loaded, but Camera isn't working, only displaying a black screen.
I’m using the following overridden method:
_rootController = [[UnityDefaultViewController alloc] init];
_rootView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
_rootController.view = _rootView;
UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboardIPad" bundle: nil];
self.navController = [mainStoryboard instantiateInitialViewController];
and I got this error :
VideoBackgroundConfig with screen size of zero received, skipping config step.
Anyone can help me?