Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support line numbers for Android on Mono #1167

Open
mattjohnsonpint opened this issue Feb 1, 2023 · 0 comments
Open

Support line numbers for Android on Mono #1167

mattjohnsonpint opened this issue Feb 1, 2023 · 0 comments
Labels
Feature New feature or request Mono

Comments

@mattjohnsonpint
Copy link
Contributor

My understanding is that presently we display line numbers in Unity for IL2CPP, but not for Mono.

With recent improvements to Sentry .NET, we should now be able to do this using the AndroidAssemblyReader.

This is already working well for .NET Android, MAUI, and Xamarin. (See getsentry/sentry-xamarin#135)

I believe it would require only a change to the path that is searched within the apk by the AndroidAssemblyDirectoryReader (here). It currently searches /assemblies, but for Unity it would need to search /assets/bin/Data/Managed also.

image

Test.apk.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Mono
Projects
Status: No status
Archived in project
Development

No branches or pull requests

2 participants