Thank you for the quick reply!
The errors are only from when I fullscreen the game window, If i dont full screen there are no errors but the performance is the same, with onGUI eating it away.
Unity version: 2019.1.5f1
Playmaker version: 1.9.0
I have deactivated every UI and almost every gameobject in the scene even the Player controller, I only left the terrain and other gameobjects that don't have any fsm or script on them. This performance hit only occurs when I press or hold down any button, even buttons that don't do anything like I pressed Insert and there is the onGUI spike.
Also noticed that this onGUI performance hit gets bigger the more FSMs i have active on the scene. FSM that have no connection to any UI, GUI, or input button function whatsoever, with every UI element deactivated.
So basically the problem never disappears it's just gets bigger the more "stuff" is on the scene.
It's almost like the button press input is connected to every fsm and gameobject in the scene.
I don't know if this is how it supposed to work.
Something might have really messed up with the Input system?