Open
Description
Environment
How do you use Sentry?
Sentry SaaS
Which version of the SDK?
2.1.0
How did you install the package?
Git-URL
Which version of Unity?
6000.0.4f1
Is this happening in Unity (editor) or on a player like Android, iOS, Windows?
Android
Steps to Reproduce
- Download and open the Unity as a Library (UaaL) example.
- Install Sentry as a package.
- Run the setup wizard to ensure the Sentry plugin is activated.
- Ensure that Android Native Support is enabled.
- Add this script this script to the project. This will add buttons to simulate various crashes via
UnityEngine.Diagnostics.Utils.ForceCrash()
. To the top left of the screen. - Continue setting up the UaaL project per the instructions in Unity's Github docs
- Build and run on a device
- Press any of the
ForcedCrashCategory
buttons, for example: Engine Crash - FatalError, Engine Crash - AccessViolation, etc.
Expected Result
Unity engine-level crashes/fatal issues are reported to Sentry.
Actual Result
No fatal crash is reported. It's also worth noting: Performing these steps in a non-UaaL project reports fatal level crashes to Sentry as expected, see the image below.
Any logs or screenshots
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress
Status
No status