- Home /
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.
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.
Can you share with us the log from the game as it crashes. The crash might be totally unrelated to the FBX.
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
Answer by twipsminecraft · Feb 26 at 04:52 AM
Because there are too many Polygons you want to remove the Rigidbody and select "Convex"
Your answer
Follow this Question
Related Questions
Why did my render time increase after lowering the vertex count? 2 Answers
IL2CPP Crash on Instantiate(gameObject) 2 Answers
How to have 2 sets of textures and make sure only one is loaded? 0 Answers
iOS Application.OpenUrl("app-settings:") Camera Crash Issue 1 Answer
Size of FBX in AssetBundle is larger 0 Answers