Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.11.1
Issue ID
ISXB-1126
Regression
Yes
Input System causes compile error when the "Nintendo Switch" is selected as a build target
Reproduction steps:
1. Create a new “3D” project
2. Open the Package Manager window (Window > Package Manager)
3. Install the “Input System” package
4. Press “Yes” to restart the Editor
5. Open the Build Settings window
6. Switch to the “Nintendo Switch” target
7. Observe the Console window
Expected result: No errors are thrown
Actual result: “Library\PackageCache\com.unity.inputsystem@1.11.1\InputSystem\NativeInputRuntime.cs(404,13): error CS0012: The type 'AnalyticsResult' is defined in an assembly that is not referenced. You must add a reference to assembly 'UnityEngine.UnityAnalyticsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.” error is thrown
Reproducible with: 1.11.1 (2022.3.50f1)
Not reproducible with: 1.11.0 (2021.3.45f1, 2022.3.50f1, 6000.0.23f1), 1.11.1 (2021.3.45f1, 6000.0.23f1)
Reproducible on: Windows 10
Not reproducible on: No other environment tested
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Duplicate of ISXB-1107
Duplicate of another internal issue: ISXB-1107: Analytics error occurs when Input System version 1.11.1 is installed