After upgrade to unity 5 and my app crash on startup on iPod touch 5, but runs ok on iPhone 6. Log shows the following message:
Jun 13 17:53:07 jacky-iPod TestProject[24012] : *** Assertion failure in -[MyAppController renderingAPI], /Users/workspace/COD_iOS/XCodeProject/Classes/UnityAppController+Rendering.mm:110
Jun 13 17:53:07 jacky-iPod TestProject[24012] : Uncaught exception: NSInternalInconsistencyException: [UnityAppController renderingAPI] called before [UnityAppController selectRenderingApi]
(
0 CoreFoundation 0x2d9d7f63 + 154
1 libobjc.A.dylib 0x37cec6af objc_exception_throw + 38
2 CoreFoundation 0x2d9d7e25 + 0
3 Foundation 0x2e37ffe3 + 90
4 TestProject 0x000147e9 TestProject + 59369
5 TestProject 0x00025d7f TestProject + 130431
6 TestProject 0x00eedda5 TestProject + 15629733
7 UIKit 0x301bb2ff + 274
8 UIKit 0x301bad4f + 1390
9 UIKit 0x301b5353 + 714
10 UIKit 0x3015041f + 3130
11 UIKit 0x3014f721 + 72
12 TestProject 0x00eec79f TestProject + 15624095
13 UIKit 0x301b4b3d + 664
14 GraphicsServices 0x325fc70d + 608
15 GraphicsServices 0x325fc2f7 + 34
16 CoreFoundation 0x2d9a29df + 34
17 CoreFoundation 0x2d9a297b + 346
18 CoreFoundation 0x2d9a114f + 1398
19 CoreFoundation 0x2d90bc27 CFRunLoopRunSpecific + 522
20 CoreFoundation 0x2d90ba0b CFRunLoopRunInMode + 106
21 UIKit 0x301b3dd9 + 760
22 UIKit 0x301af049 UIApplicationMain + 1136
23 TestProject 0x0000c0fb TestProject + 24827
24 libdyld.dylib 0x381f4ab7 + 2
)
Jun 13 17:53:07 jacky-iPod TestProject[24012] : *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '[UnityAppController renderingAPI] called before [UnityAppController selectRenderingApi]'
Anybody knows what the problem is?
↧