Autonomous Rover Testing Simulator in Unreal Engine 5
View the Project on GitHub MissouriMRDT/RoveSoSimulator
Return to RoveSoDocs Guides for Today, Tomorrow, and Forever.
The goal of the crash reporting system is to provide the engineering team with high-fidelity, actionable data when the simulator crashes in “the wild” (on operator laptops or during autonomy testing). Unlike standard logs, Sentry provides symbolicated callstacks, identifying the exact file and line number of the C++ failure, along with hardware analytics (GPU, RAM, OS version).
#sim-crashes channel when a new issue is detected.DefaultEngine.ini)The behavior of the SDK is controlled via the [Sentry] section in your project configuration.
[Sentry]
Dsn="https://YOUR_PUBLIC_KEY@o0.ingest.sentry.io/PROJECT_ID"
InitializeSdkAutomatically=False
EnableAutoLogAttachment=True
EnableAutoStackTrace=True
On Linux (Arch/Ubuntu), initializing Sentry automatically during engine startup frequently causes the editor to hang at 75%. This is caused by the engine waiting for Sentry to complete its network handshake with the server before continuing.
InitializeSdkAutomatically=False.Initialize Sentry node.Because auto-init is disabled for stability, we use the BP_GameInstance to kick off the reporting system as soon as the simulation starts.
crashpad_handler.Set Sentry User to tag reports with the specific Rover ID or Operator name for easier filtering.When a packaged sim crashes, the log usually shows hex addresses (e.g., 0x00007ff...). To see readable code:
sentry-cli tool to upload the resulting .pdb (Windows) or .debug (Linux) files.RoveSoSimulator.exe!UnknownFunction [0x1234]ImuComponent.cpp: Line 142 in UpdateImuData()To verify the system is working, we have implemented a “Nuke” function in the AppLauncherLibrary.
void UAppLauncherLibrary::TriggerManualCrash()
{
// Purposefully dereference a null pointer to force an OS Access Violation
volatile int* p = nullptr;
*p = 0xDEADBEEF;
}
crashpad_handler binary in your Plugins/Sentry/Binaries/Linux folder may lack execution rights. Run chmod +x on that file.SSL Certificate Error, ensure you have the ca-certificates package installed (sudo pacman -S ca-certificates on Arch)..sentry-native. If you experience weird startup behavior, deleting this folder is a safe way to reset the local state.