Custom colliders are preferred, Box and Convex colliders are a good second(for when you're feeling lazy) , triangle mesh should be used less(although it is still very useful

)
Also when it gives that error it can help to look at the console since there will be a more extensive error message there >.>