/** Crash the app. For testing purposes. :o) **/ public static void forceCrash() { if (hasTakenOff) { LogInternal("Unity.TestFlight.forceCrash();"); #if UNITY_ANDROID && !UNITY_EDITOR AndroidJNI.FatalError("TestFlight.forceCrash"); #elif UNITY_IPHONE && !UNITY_EDITOR _iOS_TestFlight_forceCrash(); #endif } else { Debug.Log("TestFlight has not taken off. Wrong App Token or missing TestFlight GameObject?"); } }