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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version n/a):
Fixed in: 2019.4.14f1
Resolution Note (fix version n/a):
Fixed in: 2018.4.31f1