• 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
0
Question by dmtsui · Aug 03, 2011 at 05:20 PM · ioscrashoptimizationfbxmeshcollider

FBX mesh collider causing iOS to crash

I am trying to import a plumbing model into Unity as an FBX file and would like it to have collision detection. Now before i generate any colliders from the model the game runs flawlessly on iOS, but after generating a mesh collider from the FBX file the game crashes on iOS regardless if the mesh collider option is checked or not in the prefab. Can anyone explain to me what is happening and if there is a fix/optimization that I can implement to get around this issue. Anything would be helpful.

Thanks.

Comment
Add comment · Show 2
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 mwfelker · Aug 03, 2011 at 07:54 PM 0
Share

first, i would check your poly count on the FBX mesh...it could be huge and rendering every frame might crash it.

additionally, is FBX the only way you can import it? i've had trouble with FBX in the past and generally import 3ds files.

avatar image Graham-Dunnett ♦♦ · Aug 03, 2011 at 09:41 PM 0
Share

Can you share with us the log from the game as it crashes. The crash might be totally unrelated to the FBX.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by dmtsui · Aug 15, 2011 at 11:58 PM

The poly count is extremely high, but the mesh renderers aren't causing any problems for the iPad. It's only when I had mesh colliders to the scene. I seem to be hitting a limit to the amount of mesh colliders allowed in one scene. It actually says:

"Could not create actor. Maybe you are using too many colliders or rigidbodies in you scene?

Is there a way to generate mesh collider's on the fly or load mesh colliders in batches? I think that is what is causing iOS to crash

Comment
Add comment · 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
0

Answer by twipsminecraft · Feb 26 at 04:52 AM

Because there are too many Polygons you want to remove the Rigidbody and select "Convex"

Comment
Add comment · 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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Can a iOS game camera have the Bloom optimized effect with clear flags = depth only? 0 Answers

Textures over FBX not correctly applied 1 Answer

Has anyone else encountered problems with VFP/NEON optimisations for mesh skinning on iOS? 1 Answer

UnityException: Launching iOS project via Xcode4 failed. Check editor log for details. 1 Answer

Crash on iOS with custom shaders 0 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