mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
20 lines
601 B
C#
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;
|
|
}
|
|
}
|