Table of Contents

Record EED dump file

EED (EasyAR Event Dump) files can be used to capture some runtime key data and provide it to EasyAR technical support for problem analysis, such as the tracking results of some trackers, network requests between the program and Mega services, etc. It is usually used when the problem cannot be reproduced with EIF files.

Recording using the developer mode panel

Run the program, then open the Developer mode diagnostics panel (under default settings, quickly tap the screen 8 times). Click eed's rec to start recording. Reproduce the issue, then click stop to complete recording.

diagnostics eed windows

The EED file path will be displayed during recording.

diagnostics eed windows 2

Using script recording

You can use EventDumpRecorder.start(string, int) to start recording an EED file and EventDumpRecorder.stop() to stop recording.

For example, the following code demonstrates how to record an EED file in a script:

EventDumpRecorder eedRecorder;

bool RecordEED(bool on)
{
    if (on)
    {
        if (session.Assembly == null || session.Assembly.Display == null) { return false; }
        var path = Path.Combine(Application.persistentDataPath, DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss.fff") + ".eed");
        eedRecorder = EventDumpRecorder.create();
        eedRecorder?.start(path, session.Assembly.Display.Rotation);
    }
    else
    {
        eedRecorder?.stop();
        eedRecorder?.Dispose();
        eedRecorder = null;
    }
    return true;
}