Problem
A runtime crash occurs on Android (and other platforms) when the com.unity.modules.unityanalytics module is removed from manifest.json with code stripping enabled. The crash happens during RemoteSettingsBeforeFetchFromServer callback invocation with a null pointer dereference.
Affected Version
Platforms Affected
Steps to Reproduce
- Create a project with code stripping enabled
- Remove Cloud Diagnostics package
- Remove "com.unity.modules.unityanalytics": "1.0.0" from manifest.json
- Build and run on Android
- App crashes with SIGSEGV at RemoteSettingsBeforeFetchFromServer
Workaround
- Disable code stripping (confirmed working)
- Add "com.unity.modules.unityanalytics": "1.0.0" back to manifest.json (being tested with customer)