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
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
-
jocyf
Oct 01, 2021 09:57
same issue in Unity 2020.3.16f1 when using com.unity.analytics@3.5.3
-
fgileving
Jun 13, 2021 15:11
same issue on 2020.3.11 LTS
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Changes are not saved when changing Styles' orders in the UI Builder
- “InvalidOperationException: Not enough space in output buffer (need 24, has 0)” error is thrown when using NativeList.GetVertices()
- High CPU usage when Spline Evaluate functions are used
- “Shader error in ‘Shader Graphs/Master’: Invalid conditional expression” is logged when a project is opened
- [macOS] SleepTimeout.NeverSleep setting is applied to the Editor after exiting Play mode
Resolution Note (fix version n/a):
Fixed in: 2019.4.14f1
Resolution Note (fix version n/a):
Fixed in: 2018.4.31f1