Open pavlo-supenko opened 1 month ago
Thanks for the detailed issue! One thing to be aware of and to manage expectations: Currently, there is no mechanism to sync transactions and spans between the native and the managed layer. So you'd be "stuck" with native transaction - for now (tm)
Currently, there is no mechanism to sync transactions and spans between the native and the managed layer. So you'd be "stuck" with native transaction - for now (tm)
But it should work if I start and finish some transactions only on native layer and some another only on managed ? Am I understand correctly (that means that problem I described is valid) ?
You can start and finish things on the same layer. But there is no passing of ID
happening. So the spans and transactions will be disconnected from each other based on their layer.
Yes, that would be great, in my case I need to track some native work we do before Unity starts separately from something inside engine, without blending Sentry layers.
Environment
We are using:
The issue is presenting on iOS and Android devices and cant be checked in Editor because it's connected with native tracking before the engine start.
Steps to Reproduce
Android
iOS
Expected Result
Expect that any transactions started from native layer before .Net SDK initialized will work and all transactions appear on Sentry console.
Actual Result
Android
Transaction start operation said that
Tracing is disabled
but it is in build- and run-time configurators.iOS
On iOS case transaction started as I see but it's not finishing because of
internal_error
Logs or screenshots
Android
Full log from app start
sentry-android-activity-transaction-all.log
The same log but filtered with
Sentry
sentry-android-activity-transaction-filtered.log
iOS
sentry-ios-main-transaction-all.log
Project I used for test
unity-sentry-test.zip