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

Package: Input System

-

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

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.