-
-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
FeatureNew feature or requestNew feature or request
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
ForcedCrashCategorybuttons, 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FeatureNew feature or requestNew feature or request
Projects
Status
Done
Status
No status
