Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by ofusion · Jun 13, 2016 at 12:17 PM · unity 5ioscrashstartup

[UnityAppController renderingAPI] called before [UnityAppController selectRenderingApi]

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] <Warning>: *** Assertion failure in -[MyAppController renderingAPI], /Users/workspace/COD_iOS/XCodeProject/Classes/UnityAppController+Rendering.mm:110
 
 Jun 13 17:53:07 jacky-iPod TestProject[24012] <Warning>: Uncaught exception: NSInternalInconsistencyException: [UnityAppController renderingAPI] called before [UnityAppController selectRenderingApi]
 
     (
 
         0   CoreFoundation                      0x2d9d7f63 <redacted> + 154
 
         1   libobjc.A.dylib                     0x37cec6af objc_exception_throw + 38
 
         2   CoreFoundation                      0x2d9d7e25 <redacted> + 0
 
         3   Foundation                          0x2e37ffe3 <redacted> + 90
 
         4   TestProject                         0x000147e9 TestProject + 59369
 
         5   TestProject                         0x00025d7f TestProject + 130431
 
         6   TestProject                         0x00eedda5 TestProject + 15629733
 
         7   UIKit                               0x301bb2ff <redacted> + 274
 
         8   UIKit                               0x301bad4f <redacted> + 1390
 
         9   UIKit                               0x301b5353 <redacted> + 714
 
         10  UIKit                               0x3015041f <redacted> + 3130
 
         11  UIKit                               0x3014f721 <redacted> + 72
 
         12  TestProject                         0x00eec79f TestProject + 15624095
 
         13  UIKit                               0x301b4b3d <redacted> + 664
 
         14  GraphicsServices                    0x325fc70d <redacted> + 608
 
         15  GraphicsServices                    0x325fc2f7 <redacted> + 34
 
         16  CoreFoundation                      0x2d9a29df <redacted> + 34
 
         17  CoreFoundation                      0x2d9a297b <redacted> + 346
 
         18  CoreFoundation                      0x2d9a114f <redacted> + 1398
 
         19  CoreFoundation                      0x2d90bc27 CFRunLoopRunSpecific + 522
 
         20  CoreFoundation                      0x2d90ba0b CFRunLoopRunInMode + 106
 
         21  UIKit                               0x301b3dd9 <redacted> + 760
 
         22  UIKit                               0x301af049 UIApplicationMain + 1136
 
         23  TestProject                         0x0000c0fb TestProject + 24827
 
         24  libdyld.dylib                       0x381f4ab7 <redacted> + 2
 
     )
 
 Jun 13 17:53:07 jacky-iPod TestProject[24012] <Error>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '[UnityAppController renderingAPI] called before [UnityAppController selectRenderingApi]'

Anybody knows what the problem is?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by ofusion · Jun 16, 2016 at 02:04 PM

Finally, it is fixed by switch Graphics API from OpenGLES3 to OpenGLES2

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SweatyChair · Oct 13, 2017 at 01:41 AM 0
Share

That fix for me thx

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

86 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

iOS Memory Handling Crash on Startup 0 Answers

IOS Crash during build on Mac for Unity 5.3.4 0 Answers

Unity 5.4.0f3 (64-bit) Crahed on startup! 2 Answers

Our Unity game crash random in iOS with Unity 5.3.5p7 0 Answers

Unity 5.0.1 ios app crashes on load 4 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges