Non-convex MeshCollider with non-kinematic Rigidbody?

I usually don’t get this error with primitive objects(cubes, spheres) but when I import my own object, this shows up:

Non-convex MeshCollider with non-kinematic Rigidbody is no longer supported in Unity 5.

Convex collider doesn’t work for the object since “user-provided hull must have less than 256 vertices!”

Kinematic rigidbody doesn’t work either because it no longer simulates physics. How do I make my own object to follow the laws of physics?

You can work you way around the limitation with “Compound Collider”. Look at the Rigidbody documenation under the “Compound Collider” section.

Use the NonConvexMeshCollider script to solve your problem:

I implemented that by myself because I had the same problem.