Skip to content

backtrace-labs/unreal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sauce Labs Error Reporting for Unreal Engine

Unreal Engine Platform License

Integrate Sauce Labs Error Reporting into your Unreal Engine projects to automatically capture and report crashes, helping you identify and fix issues faster.

πŸ“‹ Table of Contents

✨ Features

  • Automated Crash Reporting: Automatically capture and send crash reports to Sauce Labs
  • Multi-Platform Support: Configure different reporting endpoints for Windows, Mac, Linux, Android, iOS, and more
  • Configuration Validation: Built-in checklist UI to verify your setup
  • Editor Integration: Seamlessly integrates into the Unreal Editor Tools menu
  • URL Validation: Ensures reporting endpoints are correctly formatted
  • One-Click Fixes: Automatically enable crash reporter in packaging settings

πŸ“¦ Requirements

Unreal Engine Version

  • Unreal Engine 5.0 or later

Sauce Labs Error Reporting Account and DataRouterURL

  • Create Sauce Labs Error Reporting account at backtrace.io
  • Locate DataRouter URL for your project in Project Settings β†’ Integration Guides β†’ Unreal

Development Platform

  • Windows 64-bit, macOS, or Linux

πŸš€ Installation from Fab

  1. Open the Epic Games Launcher/Your UE project
  2. Navigate to the fab window
  3. Search for "Sauce Labs Error Reporting"
  4. Click Install to Engine
  5. Open/Restart your UE project
  6. Go to Edit β†’ Plugins
  7. Search for "SauceLabs Error Reporting"
  8. Check the Enabled checkbox
  9. Restart the editor if prompted

πŸ”³ Configuration

Step 1: Obtain Your DataRouter URL

  1. Log in to your Sauce Labs Error Reporting universe
  2. Navigate to Project Settings β†’ Integration Guides β†’ Unreal
  3. Copy your project's DataRouter URL for Step 2
    1. You may create unique projects per-platform, each with a unique DataRouterURL

Step 2: Configure & Check with the Plugin Tool

  1. In the Unreal Editor, open Tools β†’ Error Reporting
  2. Presh Refresh button
  3. Enable the Crash Reporting
  4. Press the SauceLabs Reporting or Navigate to Plugins β†’ Sauce Labs Error Reporting
  5. Paste your DataRouter URL into the Default Data Router URL field
  6. Go back to the SauceLabs checklist window and press Refresh, check that everything is ok (green)
    • βœ… DataRouterUrl in DefaultEngine.ini
    • βœ… DefaultEngine.ini is writable
    • βœ… Include Crash Reporter (packaging setting)
    • If "Include Crash Reporter" shows red, click Enable Crash Reporter to fix it automatically

⏩ Usage

Once configured, crash reports will be automatically sent to Sauce Labs when:

  • Your packaged game crashes on end-user devices
  • A fatal error occurs in the game
  1. Make a build of your game
  2. Simulate a crash
  3. Go to your Sauce Labs Error Reporting universe to see crash reports
    1. Upload symbols in Project Settings β†’ Upload and archive to resolve symbols in callstacks

What Gets Reported

  • Crash Callstack: Full stack trace of the crash
  • Engine Version: Unreal Engine version
  • Platform: Target platform (Windows, Mac, Linux, Android, iOS, etc.)
  • Build Configuration: Development, Shipping, etc.
  • Custom Context: Any additional data you've logged

🌍 Platform-Specific Settings

You can configure unique Error Reporting projects and DataRouterURLs for each target platform:

  1. In Error Reporting, create a new project and get DataRouterURL in Project Settings β†’ Integration Guides β†’ Unreal
  2. In Unreal Engine, open Edit β†’ Project Settings β†’ Plugins β†’ Sauce Labs Error Reporting
  3. Expand Platforms To Data Router URL
  4. Click + to add a platform
  5. Select platform (Windows, Android, iOS, etc.)
  6. Enter platform-specific DataRouter URL
  7. Save is done automatically

The plugin will automatically create platform-specific configuration files:

  • Config/Windows/WindowsEngine.ini
  • Config/Android/AndroidEngine.ini
  • Config/IOS/IOSEngine.ini

Verification Checklist

  • DataRouterURL is correctly formatted
  • Configuration checklist shows all green
  • Include Crash Reporter is enabled
  • Packaged build sends test crash successfully
  • Crash appears in Sauce Labs Portal

πŸ”§ Troubleshooting

Crash Reports Not Appearing

Problem: Crashes aren't showing up in Sauce Labs Portal

Solutions:

  1. Verify DataRouterURL format: https://unreal.backtrace.io/post/[universe]/[token]
  2. Check Tools β†’ Crash Reporter β†’ Error Reporting for configuration issues
  3. Ensure "Include Crash Reporter" is enabled in packaging settings
  4. Check that INI files are not read-only:
    • Config/DefaultEngine.ini
    • Config/DefaultGame.ini

Configuration Not Saving

Problem: Settings don't persist after clicking Save

Solutions:

  1. Check if configuration files are read-only
  2. Ensure your project directory has write permissions
  3. Close other applications that might lock INI files (source control, editors)
  4. Click Refresh in the checklist to reload configuration

Platform-Specific URL Not Working

Problem: Platform override isn't being used

Solutions:

  1. Verify platform name matches exactly (case-sensitive)
  2. Check that platform INI file was created in Config/[Platform]/
  3. Ensure DataRouterURL format is valid
  4. Re-package your game after making changes

Plugin Not Appearing in Tools Menu

Problem: Can't find "Error Reporting" in Tools menu

Solutions:

  1. Verify plugin is enabled in Edit β†’ Plugins
  2. Restart Unreal Editor
  3. Check that you're using a compatible UE version (5.0+)

URL Validation Failing

Problem: Valid DataRouterURL is rejected

Solutions:

  1. Check DataRouterURL format: https://unreal.backtrace.io/post/[universe]/[token]
  2. Remove any trailing slashes or extra parameters
  3. Verify URL was copied correctly from Error Reporting

πŸ“š Documentation

🀝 Support

πŸ“„ License

Copyright Β© Sauce Labs Inc. All Rights Reserved.

This plugin is proprietary software. See LICENSE file for details.


Made by Sauce Labs Inc.

About

Plugin for Unreal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages