playMaker

Author Topic: [SOLVED] Error after switch to New Input System in Unity 2022.3.4f1 LTS  (Read 687 times)

Hayato

  • Playmaker Newbie
  • *
  • Posts: 36
1) What happened

Get error after switch to New Input System in Unity 2022.3.4f1 LTS .

2) How can we reproduce it

1.Goto Edit > ProjectSetting > Player , switch to Input System Package (New).
2.Unity force a restart ,  and pop Script Updating Consent window , choose " Yes , for these and other files that might be found after later ".
3.Get bunch of error logs in Console window.

OR

1.New a project , switch to New Input System first .
2.Redownload and Import PlayMaker from package manager.
3.Pop Script Updating Consent window , choose " Yes , for these and other files that might be found after later ".
4.Get bunch of error logs in Console window.


If switch back to Old Input System these error would clear and work fine .


#Environment

Windows 10 x64
Unity 2022.3.4f1 LTS
PlayMaker 1.9.7f1


#ScreenShots





#Full Error Log as below

Code: [Select]
##### Custom Environment Variables
DOTNET_MULTILEVEL_LOOKUP=0
##### ExitCode
1
##### Output
Assets\PlayMaker\Actions\ActionHelpers.cs(31,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Device\GetTouchCount.cs(13,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Device\GetTouchInfo.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Device\SwipeGestureEvent.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Device\TouchEvent.cs(13,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Device\TouchObjectEvent.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadActionBase.cs(7,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadActionBase.cs(8,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadButtonComboEvents.cs(5,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadButtonComboEvents.cs(6,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadReadStickValue.cs(6,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadReadStickValue.cs(7,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadStickEvents.cs(7,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadStickEvents.cs(8,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\GetKey.cs(18,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\GetKeyDown.cs(18,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\GetKeyUp.cs(18,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\GetMouseButton.cs(13,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\GetMouseButtonDown.cs(13,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\GetMouseButtonUp.cs(13,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\GetMouseX.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\GetMouseY.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\MouseLook.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\MouseLook2.cs(16,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Input\MousePickEvent.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Physics2D\MousePick2d.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Physics2D\MousePick2dEvent.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Physics2D\Touch Object 2d Event.cs(15,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputActionBase.cs(4,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputButtonEvents.cs(6,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputButtonEvents.cs(7,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputCanceledEvent.cs(4,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputGetBool.cs(4,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputGetFloat.cs(4,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputPerformedEvent.cs(4,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputUpdateActionBase.cs(4,19): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadActionBase.cs(76,19): error CS0246: The type or namespace name 'ButtonControl' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadActionBase.cs(30,19): error CS0246: The type or namespace name 'Gamepad' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadButtonComboEvents.cs(128,34): error CS0246: The type or namespace name 'ButtonControl' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadButtonComboEvents.cs(65,31): error CS0246: The type or namespace name 'ButtonControl' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadButtonComboEvents.cs(66,22): error CS0246: The type or namespace name 'ButtonControl' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadButtonComboEvents.cs(67,22): error CS0246: The type or namespace name 'ButtonControl' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Input\GetKey.cs(30,16): error CS0246: The type or namespace name 'Key' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Input\GetKeyDown.cs(30,16): error CS0246: The type or namespace name 'Key' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Input\GetKeyUp.cs(30,16): error CS0246: The type or namespace name 'Key' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadReadStickValue.cs(50,17): error CS0246: The type or namespace name 'InputControl' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\Gamepad\GamepadStickEvents.cs(132,17): error CS0246: The type or namespace name 'InputControl' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputActionBase.cs(10,79): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputActionBase.cs(27,56): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputActionBase.cs(28,55): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputActionBase.cs(24,31): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputActionBase.cs(25,31): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputActionBase.cs(14,41): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputActionBase.cs(20,40): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputUpdateActionBase.cs(9,84): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputCanceledEvent.cs(21,44): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputPerformedEvent.cs(21,45): error CS0246: The type or namespace name 'InputAction' could not be found (are you missing a using directive or an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputUpdateActionBase.cs(33,31): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputUpdateActionBase.cs(34,31): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputUpdateActionBase.cs(20,41): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\PlayMaker\Actions\PlayerInput\PlayerInputUpdateActionBase.cs(26,40): error CS0234: The type or namespace name 'InputSystem' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
« Last Edit: July 26, 2023, 05:22:21 PM by Hayato »

Hayato

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Error after switch to New Input System in Unity 2022.3.4f1 LTS
« Reply #1 on: July 26, 2023, 05:20:36 PM »
Okay I got the reasion why ... it's not a bug from playmaker .
The problem is Unity 2022.3.4f1 don't import InputSystem package automatically , when switch to InputSystem(New) .
After import it manually , playmaker work well with New Input System now .

And I have mark the topic title as [SOLVED] .

« Last Edit: July 26, 2023, 05:23:26 PM by Hayato »