x


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.

more ▼

asked Aug 03 '11 at 05:20 PM

dmtsui gravatar image

dmtsui
1 2 2 2

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.

Aug 03 '11 at 07:54 PM maxfelker

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

Aug 03 '11 at 09:41 PM Graham Dunnett ♦♦
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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

more ▼

answered Aug 15 '11 at 11:58 PM

dmtsui gravatar image

dmtsui
1 2 2 2

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1965
x591
x561
x472
x117

asked: Aug 03 '11 at 05:20 PM

Seen: 1251 times

Last Updated: Aug 15 '11 at 11:58 PM