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
Comments (2)
-
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
- UI becomes unresponsive when using AppUI Navigation and Event System is attached
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
Resolution Note (fix version n/a):
Fixed in: 2019.4.14f1
Resolution Note (fix version n/a):
Fixed in: 2018.4.31f1