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

Cleanup on package removal

Open bitsandfoxes opened this issue 3 years ago • 3 comments

When Sentry gets uninstalled we should remove the files we created in Plugins/Sentry/ and Resource/Sentry/.

bitsandfoxes avatar Aug 20 '21 13:08 bitsandfoxes

The files will just be dangling there without side effect, right? It won't cause warnings or crashes?

bruno-garcia avatar Mar 15 '22 15:03 bruno-garcia

We might not want to remove some files, that have user configuration. Imagine they are removing it, only to add again via UPM with a latest version. Or they are going from UPM to embedding.

bruno-garcia avatar Mar 15 '22 15:03 bruno-garcia

Valid point. No, after uninstalling the inspector for the SentryOptions will just display Script Missing. But it should restore itself with all values when Sentry gets re-installed.

bitsandfoxes avatar Mar 17 '22 18:03 bitsandfoxes