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
- Sidebar text in Package Manager does not disappear when sidebar is at its minimum size
- The edge of the Terrain is breaking when painting along the edges where the two Terrains connect
- UI Builder Scroll button for Code Preview section automatically selects all of the code
- Memory increases indefinitely when playing VLC video stream
- An invisible Element without edges is left over when a Preview is converted to a Floating Window in the Inspector
Resolution Note (fix version n/a):
Fixed in: 2019.4.14f1
Resolution Note (fix version n/a):
Fixed in: 2018.4.31f1