Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CrashReportHandler

Engine API for CrashReporting Service.
Read time 1 minuteLast updated 17 days ago

Definition

public class CrashReportHandler

Static Properties

Property

Description

enableCaptureExceptionsThis Boolean field will cause CrashReportHandler to capture exceptions when set to true. By default enable capture exceptions is true.
logBufferSizeThe Diagnostics service will keep a buffer of up to the last X log messages (Debug.Log, etc) to send along with crash reports. The default is 10 log messages, the max is 50. Set this to 0 to disable capture of logs with your crash reports.

Static Methods

Method

Description

GetUserMetadataGet a custom crash report metadata field that has been set.
SetUserMetadataSet a custom metadata key-value pair to be included with crash reports.