Search Issue Tracker

In Progress

Fix In Review for 6000.2.X, 6000.3.X, 6000.4.0a3

Votes

0

Found in

6000.2.6f1

6000.3.0b4

6000.4.0a2

Issue ID

UUM-121449

Regression

No

Code stripping causes crash in RemoteSettings when Unity Analytics module is removed from manifest

-

h3. 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.
h3. Affected Version

  • Unity 6000.2.6f1

h3. Platforms Affected

  • Android (confirmed)
  • iOS (confirmed)

h3. Steps to Reproduce

  1. Create a project with code stripping enabled
  1. Remove Cloud Diagnostics package
  1. Remove "com.unity.modules.unityanalytics": "1.0.0" from manifest.json
  1. Build and run on Android
  1. App crashes with SIGSEGV at RemoteSettingsBeforeFetchFromServer

h3. Workaround

  • Disable code stripping (confirmed working)
  • Add "com.unity.modules.unityanalytics": "1.0.0" back to manifest.json (being tested with customer)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.