Description
Environment
How do you use Sentry?
Unknown, not relevant
Which version of the SDK?
Unknown, not relevant
How did you install the package?
Git url
Which version of Unity?
2021.3.38
Is this happening in Unity (editor) or on a player like Android, iOS, Windows?
Player
Steps to Reproduce
- Build for an unsupported platform (Most platforms, error was first found on PS5)
- Run the build until something is logged by sentry
Expected Result
Sentry assemblies should not be included or have empty stubs for unsupported platforms
Actual Result
Runtime errors when trying to call into sentry methods.
Solution
Due to git packages not being editable, The default settings where assemblies are included for all platforms by default can't be changed without embedding the package into the project.
Ideally, the assemblies should not have All Platforms
enabled and instead only enable explicitly supported platforms.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done
Status
No status