The default solver iteration count permitted for any rigid bodies (default 7). Must be positive.
Edit->Project Settings->Physics
inspector instead of from scripts.Physics.solverIterationCount = 10;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { Physics.solverIterationCount = 10; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: Physics.solverIterationCount = 10