2025-06-23 11:42:47 -07:00

20 lines
601 B
C#

using AssetRipper.SourceGenerated.Subclasses.CrashReportingSettings;
namespace AssetRipper.SourceGenerated.Extensions;
public static class CrashReportingSettingsExtensions
{
public static void ConvertToEditorFormat(this ICrashReportingSettings settings)
{
if (settings.Has_NativeEventUrl() && settings.NativeEventUrl.Data.Length == 0)
{
settings.NativeEventUrl = "https://perf-events.cloud.unity3d.com/symbolicate"; //not sure where this url came from
}
// NOTE: editor has different value than player
settings.LogBufferSize = 10;
settings.CaptureEditorExceptions = true;
}
}