Description
Environment
How do you use Sentry?
Sentry SaaS (sentry.io)
Which version of the SDK?
1.2.0
How did you install the package? (Git-URL, Assetstore)
Git-URL
Which version of Unity?
2021.3.24f1
Is this happening in Unity (editor) or on a player like Android, iOS, Windows?
Issue happening on IOS and Android device
Steps to Reproduce
Trigger exception on device (iphone and android)
Expected Result
Actual c# line number should be shown on sentry page
Actual Result
No info on actual line number, only filename and function that is having the exception
Notes or comments
- From unity build log, unity is invoking il2cpp with these arguments
Invoking il2cpp with arguments: --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot-macos" --cachedirectory=REDACTED --additional-cpp=REDACTED --additional-cpp=REDACTED --avoid-dynamic-library-copy --dont-deploy-baselib --profiler-report --emit-source-mapping --directory=REDACTED --generatedcppdir=REDACTED --stats-output-dir=REDACTED --convert-in-graph
- Sentry CLI is run with these arguments
"./sentry-cli-Darwin-universal" "upload-dif" "--il2cpp-mapping" "--include-sources" REDACTED
- Symbols and sources uploaded, all this is done automatically by xcode / gradle build process
- On IOS Bitcode is disabled
- sentry properties
defaults.org=REDACTED defaults.project=REDACTED auth.token=REDACTED dif.max_item_size=10485760 log.level=info
Any logs or screenshots
Settings for unity ios build settings
Settings for unity android build settings
Upload symbols is ticked (Dev and Sources)
Event on ios not showing correct line number
Event on android not showing correct line number
Symbols uploaded on ios events
Symbols uploaded on android events (this is weird since it's a different event id with the same root cause issues but when I clicked show detail window it's showing ios unity framework)
Upload symbol log for ios
ios_sentry-symbols-upload.log
Upload symbol log for android
android_sentry-symbols-upload.log
I could also provide the event link via mail if the sentry team needs that
Thanks!