getsentry / sentry-unity

Development of Sentry SDK for Unity
https://docs.sentry.io/platforms/unity/
MIT License
206 stars 51 forks source link

Connect to Unity's symbol server #764

Open vaind opened 2 years ago

vaind commented 2 years ago

Is there anything useful we should get from here? http://symbolserver.unity3d.com/

for example UnityPlayer.pdb?

bruno-garcia commented 2 years ago

Sentry already has it. We could add it by default if the project platform is Unity

vaind commented 2 years ago

Sounds good. Who do we need to involve to get this done?

vaind commented 2 years ago

something like this, but conditional (if platform is "unity"): https://github.com/getsentry/sentry/pull/16985/

vaind commented 2 years ago

Adding the symbol server (manually here: https://sentry.io/settings/sentry-sdks/projects/sentry-unity/debug-symbols/) works pretty well:

image

https://sentry.io/organizations/sentry-sdks/issues/3548393699/events/2a5cdc1cfb69406eb6e21935214cf39b/?project=5439417 (no symbols were uploaded manually for that build)

vaind commented 2 years ago

Also, if we make this always enabled on unity projects, we can drop uploading this: https://github.com/getsentry/sentry-unity/blob/20193211b419b34d8e0bf7841739954c428f970f/src/Sentry.Unity.Editor/Native/BuildPostProcess.cs#L137