sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

Connect to Unity's symbol server

Open vaind opened this issue 3 years ago • 6 comments
trafficstars

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

for example UnityPlayer.pdb?

vaind avatar May 24 '22 15:05 vaind

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

bruno-garcia avatar May 28 '22 16:05 bruno-garcia

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

vaind avatar May 30 '22 14:05 vaind

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

vaind avatar May 31 '22 15:05 vaind

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 avatar Aug 31 '22 14:08 vaind

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

vaind avatar Aug 31 '22 14:08 vaind