playMaker

Author Topic: 'Set Mouse Cursor' action is not compatible with Unity Input System Package  (Read 2152 times)

kbigdelysh

  • Playmaker Newbie
  • *
  • Posts: 6
When tried to set my mouse cursor using 'Set Mouse Cursor' action, I got this error:

Code: [Select]
InvalidOperationException: [b]You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.[/b]
UnityEngine.Input.get_mousePosition () (at <b8044150aae1441db20439e75581176c>:0)
PlayMakerGUI.OnGUI () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerGUI.cs:518)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)


How to fix it?

[Unity 2021.3.6f1]
[PlayMaker 1.9.5f3]
« Last Edit: July 22, 2022, 02:02:25 AM by kbigdelysh »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Hi.
Does 'Set Cursor' work?

To lock and hide, there are some actions on the Ecosystem for it.


kbigdelysh

  • Playmaker Newbie
  • *
  • Posts: 6
'Set Cursor'? There is no such thing in the action browser or in the Ecosystem.
« Last Edit: July 29, 2022, 12:49:05 AM by kbigdelysh »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Hi.
Try The Attachement below