I have been trying to implement a feature where you can crash the game with a single click and get the custom crash reports next time you enter.
The problem is that now I can crash the game with seg fault, yet it's not caught in the CrashReport provided by unity.
code to crash
System.Runtime.InteropServices.Marshal.ReadInt32(IntPtr.Zero);
using .net 3.5; unity 2017.3.1p1
crash report enabled
PlayerSettings.enableCrashReportAPI = true;
PlayerSettings.actionOnDotNetUnhandledException = ActionOnDotNetUnhandledException.Crash;
PlayerSettings.logObjCUncaughtExceptions = true;
↧