mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
* Fix issues building recent commits * AssetList.CopyTo(Span) * Utf8String.IsEmpty * Resolve #692
21 lines
616 B
C#
21 lines
616 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;
|
|
}
|
|
}
|
|
}
|