feat: add Blueprint-callable SetAttribute/RemoveAttribute#138
Merged
Conversation
Adds UBugSplatAttributes Blueprint function library for setting crash report attributes at runtime across all platforms: - Windows/macOS/Linux: FGenericCrashContext::SetGameData (flows into crash context XML that BugSplat already parses) - iOS: [[BugSplat shared] setValue:forAttribute:] - Android: JNI call to BugSplat.setAttribute (crashpad SimpleStringDictionary) Also rebuilds bugsplat-android-release.aar to include the new setAttribute/removeAttribute native methods. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds a small Blueprint API surface to set/remove BugSplat crash-report attributes at runtime, routing the call to the appropriate per-platform mechanism (UE crash context on desktop, native BugSplat SDK on iOS/Android).
Changes:
- Added
UBugSplatAttributesBlueprint function library withSetAttribute/RemoveAttribute. - Implemented platform-specific plumbing for Windows/macOS/Linux (
FGenericCrashContext::SetGameData), iOS ([BugSplat shared]), and Android (JNI →com.bugsplat.android.BugSplat).
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Source/BugSplatRuntime/Public/BugSplatAttributes.h | Declares Blueprint-callable attribute set/remove API. |
| Source/BugSplatRuntime/Private/BugSplatAttributes.cpp | Implements per-platform attribute storage (crash context / iOS SDK / Android JNI). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
daveplunkett
approved these changes
Apr 7, 2026
…t-unreal into bobby/runtime-attributes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 task
This was referenced May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
UBugSplatAttributes::SetAttributeandUBugSplatAttributes::RemoveAttributeas Blueprint-callable functions for setting crash report attributes at runtimeFGenericCrashContext::SetGameData— flows into the crash context XML that BugSplat already parses asGameData_*attributes[[BugSplat shared] setValue:forAttribute:]BugSplat.setAttribute()→ crashpadSimpleStringDictionarybugsplat-android-release.aarto include the newsetAttribute/removeAttributenative methods added in feat: support setting attributes after handler start bugsplat-android#10Test plan
SetAttributefrom Blueprint, trigger crash, verify attribute appears in dashboardRemoveAttributeremoves the key from subsequent crash reports🤖 Generated with Claude Code