Native support requires configuration using the Sentry Unity Editor window. Support for programatic initialization via C# is planned.
Native support is
enabled by default. The Unity SDK passes the options defined through the Sentry Unity Editor window during build time. For Android, it embeds the Android SDK inside the Gradle project created by Unity. The iOS SDK is embedded inside the generated Xcode project. This means there's no need to use the Unity built-in crash reporting functionality.
Our Unity SDK currently supports native iOS when building for device only. Support for the iOS simulators is planned.
You can opt out of native support by unchecking
iOS Native Support and
Android Native Support in the configuration window.