Search Unity

Bug IN-14970: Regression in 1.4.x "Type of instance in array does not match expected type"

Discussion in 'Input System' started by goldbug, Aug 27, 2022.

  1. goldbug

    goldbug

    Joined:
    Oct 12, 2011
    Posts:
    767
    When I upgraded unity, it upgraded the input system to 1.4.2 (latest). Whenever I stop the player, the new input system starts throwing a bunch of errors:

    Code (csharp):
    1. Type of instance in array does not match expected type
    2. UnityEngine.InputSystem.PlayerInput:OnDisable () (at Library/PackageCache/com.unity.inputsystem@1.4.2/InputSystem/Plugins/PlayerInput/PlayerInput.cs:1734)
    Seems to happen with 1.4.0, 1.4.1 and 1.4.2

    Downgrading to 1.3.0 solves the problem.

    I added a minimal repro project in the bug report