sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

Android APK+OBB initialization fails

Open bitsandfoxes opened this issue 1 year ago • 1 comments
trafficstars

When exporting the project as APK+OBB the ScriptableSentryOptions we keep in /Resources/Sentry ends up in the OBB. That OBB might not be available just yet when the SDK tries to self-initialize.

We need to find a way to keep the options available in the actual APK - i.e. by holding a reference to it. Ideas that come to mind: We have a SentryMonoBehaviour. But we instantiate that not via prefab but we generate a new GO and add it as a component. Can we modify the first scene and add & save?

┆Issue is synchronized with this Jira Improvement by Unito

bitsandfoxes avatar May 24 '24 08:05 bitsandfoxes