Search Issue Tracker

Fixed

Fixed in 1.16.0

Votes

0

Found in [Package]

1.14.1

1.14.2

Issue ID

ISXB-1674

Regression

Yes

Input actions asset not converted correctly when upgrading from 1.14.1

Package: Input System

-

Steps to reproduce:

  1. Open up the attached reproduction project.
  2. Open up the file Assets/InputSystem_Asset.inputactions in the editor, and observe that the "Move" action has three processors defined (Stick Deadzone, Invert Vector 2, and Custom). Then close this asset.
  3. Open up the package manager from the menu (choose Window > Package Manager), and verify that version 1.11.2 of the Input System package is installed.
  4. In the package manager, update the Input System to version from 1.14.1 or 1.14.2.
  5. Open up the file Assets/InputSystem_Asset.inputactions in the editor again, and check the "Move" action. Observe that the Stick Deadzone and Invert Vector 2 processors are not expanded, and are flagged with "Obsolete" as in the attached screenshot.
  6. Rename the "Move" action to "Move2", click the Save Asset button, and close the Input Actions editor window.
  7. Play in play mode in the editor.

Actual results: 

The following errors are shown in the console.

 
{noformat}
No InputProcessor with name 'StickDeadzone;InvertVector2' (mentioned in 'StickDeadzone;InvertVector2(invertX=false);Custom(SomeEnum=100)') has been registered
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])
No InputProcessor with name 'StickDeadzone;InvertVector2' (mentioned in 'StickDeadzone;InvertVector2(invertX=false);Custom(SomeEnum=100)') has been registered
UnityEngine.InputSystem.LowLevel.NativeInputRuntime/<>c__DisplayClass10_0:<set_onBeforeUpdate>b__0 (UnityEngineInternal.Input.NativeInputUpdateType)
UnityEngineInternal.Input.NativeInputSystem:NotifyBeforeUpdate (UnityEngineInternal.Input.NativeInputUpdateType)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])
{noformat}
 

Expected results: 

No errors are shown in the console, and the processors in step 5 are editable.

Reproducible with versions: 1.14.1, 1.14.2

Not reproducible with versions: 1.11.2

Can’t test with versions: 

Tested on (OS): Windows 11

Notes:

  • The file Assets/InputSystem_Asset.inputactions.inputactions is saved as JSON. If you keep a copy of the old version before saving it in step 6 and look at the diff, the following is shown. It looks like the separator for the "processors" field of the Move/Move2 action uses a semicolon ( ; ) instead of a comma ( , ) as the separator, which seems to be why it can't be parsed after saving it.

*
{noformat}
-                    "processors": "StickDeadzone,InvertVector2(invertX=false),Custom(SomeEnum=3)",
+                    "processors": "StickDeadzone;InvertVector2(invertX=false);Custom(SomeEnum=100)",{noformat}

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.