getsentry / sentry-unity

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

Basic support for Adventure Creator #760

Open lucas-zimerman opened 2 years ago

lucas-zimerman commented 2 years ago

https://assetstore.unity.com/packages/tools/game-toolkits/adventure-creator-11896 Adventure Creator is a package that helps developers and non developers to create point and click games.

I did a hackweek where I was able to connect their script system with Sentry so it may look something like the below image image

The idea is to expose some Sentry functionalities and document it on Sentry Docs or on a separated project on Github

bitsandfoxes commented 2 years ago

Do you have an idea of what API you'd need to be made available?

lucas-zimerman commented 2 years ago

Do you have an idea of what API you'd need to be made available? I think only the basic functionalities would be enough (set user data like id, tags, captureMessage, maybe being able to add/remove data from the context?)

I have a sample code on how to capture a message and Set/Unset a tag https://gist.github.com/lucas-zimerman/d46fdcd18c6acc9eb11169645e36ab23

https://gist.github.com/lucas-zimerman/22bf1426dd0204092f3defc27315427e

Not sure the best use case here, we/I could create a separated project with the required code in order to use Sentry with that Tool or just document on Sentry docs on how to integrate Sentry Unity with Adventure Creator.