SetUserMetadata(string, string)
Set a custom metadata key-value pair to be included with crash reports.
Read time 1 minuteLast updated 19 days ago
Definition
- Type: Method
- Namespace: UnityEngine.CrashReportHandler
- Assembly: UnityEngine.CrashReportingModule
public static void SetUserMetadata(string key, string value)
Parameters
Remarks
Set a value to null to clear a key.
Keys are limited to 255 characters and values to 1024 characters, and there is a limit of 64 key-value pairs. SetUserMetadata throws a System.ArgumentException if you attempt to exceed these limits.