Skip to content

Conversation

@tustanivsky
Copy link
Collaborator

@tustanivsky tustanivsky commented Aug 28, 2025

Key changes:

  • Bumped Unreal SDK version to 1.1.1
  • Removed DSN from project config
  • Removed code that reads DSN from environment variable at startup as SDK now can handle this automatically
  • Switched to flask backend for making HTTP API calls
  • Added trace header to outgoing HTTP request
  • Added dummy HTTP request payload generation
  • Added spans/transactions scope binding to associate them with captured errors

{
if (sentry_transaction_t* nativeTransaction = sentry_transaction_start(platformTransactionContext->GetNativeObject(), sentry_value_new_null()))
{
// TODO: Replace this hack with a proper transaction binding to the current scope
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the hack do differently now?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, span/transaction scope binding is hardcoded in the Unreal SDK version used in the demo project. Ideally, we should first introduce an API in sentry-unreal to handle this and then bump the plugin version in this repo accordingly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we release getsentry/sentry-unreal#1075, updating the Unreal SDK in demo project should unblock this PR.

@Angelodaniel Angelodaniel marked this pull request as ready for review September 9, 2025 09:53
@tustanivsky tustanivsky merged commit e15b9bc into main Sep 12, 2025
1 check passed
@tustanivsky tustanivsky deleted the fix/distributed-tracing branch September 12, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants