Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: davmedei on October 16, 2021, 07:43:52 PM
-
Anyone know why this error shows up when using "Player Input Performed Event" action? I'm using the new input system. I have the new input action selected.
Not sure if this is a bug or if there is a better way of doing what I need. When I use "Player Input Button Events" I get a infinite loop error, but when using performed event instead, it works for me.
All my FSM does is on button input, adjust spotlight intensity.
(https://i.ibb.co/hXx9VBC/Unity-dxq-AOSs5q-L.png) (https://ibb.co/yhmPq6V)
(https://i.ibb.co/fqtNT2M/Unity-wqgpns6q5c.png) (https://ibb.co/7jVp0Xv)
upload pic (https://imgbb.com/)
-
Hi.
Did you import the new input system package?
-
Hi,
Yes I have the new input system package installed/imported via the package manager.
(https://i.ibb.co/Vgsj59p/Unity-t8-Q3-Lj-MWf-R.png) (https://ibb.co/qNvyVjF)
-
Hi.
I use Rewired Asset for input since its much better than the build in unity input.
But i had a quick look to the Player Input Button Event.
You need to use 'Was Pressed This Frame' for the event.
Then you also need to have some kind if delay if its looping back or if you have a 2nd Player Input Button Event. (for example a Next Frame Event).
Btw you can ignore the error on the action "Action requires new Input System"
-
Thank you, that works. I'm gonna give Rewired a try too.
-
Hi.
Rewired is a bit intimidating at first, but once you get the hang of it, its very powerful.