Search Issue Tracker

Fixed in n/a

Votes

0

Found in [Package]

3.1.1

Issue ID

1286509

Regression

Yes

The name 'RemoteSettings' does not exist in the current context error is thrown when using Analytics Library package

Package: Analytics

-

How to reproduce:
1. Create a new project
2. Install Analytics via Package Manager
3. Switch platform to Xbox in Build Settings
4. Close the project
5. Open the project
6. Once opened, switch the platform back to Standalone

Expected result: There are no errors thrown to the Console
Actual result: 'Library\PackageCache\com.unity.analytics@3.4.0\DataPrivacy\DataPrivacyButton.cs(52,17): error CS0103: The name 'RemoteSettings' does not exist in the current context
Library\PackageCache\com.unity.analytics@3.4.0\DataPrivacy\DataPrivacy.cs(42,26): error CS0103: The name 'AnalyticsSessionInfo' does not exist in the current context
Library\PackageCache\com.unity.analytics@3.4.0\DataPrivacy\DataPrivacy.cs(43,29): error CS0103: The name 'AnalyticsSessionInfo' does not exist in the current context' errors are thrown to the Console

Reproducible with: 2019.4.13f1 (3.1.1), 2020.1.11f1 (3.3.2), 2020.2.0b9 (3.3.5), 2021.1.0a2 (3.5.3)
Not reproducible with: 2018.4.29f1 (3.0.9)

Notes:
- Workaround: delete the Library folder
- Reproducible on Windows, not reproducible on macOS
- Not reproducible when switching platform to iOS, Android, WebGL, UWP; Reproducible when switching platform to Xbox

  1. Response avatar

    Resolution Note (fix version n/a):

    Fixed in: 2019.4.14f1

  2. Response avatar

    Resolution Note (fix version n/a):

    Fixed in: 2018.4.31f1

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.