I am working on a local multiplayer game.
Since having a “Player Input” on every player did not work properly, I made a own class PlayerControlInputManager which receives the messages like “OnMoveCursor” and “OnMoveWASD” etc.
I added Player Input to my event system class. And linked them, looks this way before starting:
When I start, the first buttons are working, but later they are not, I get this message in runtime:
And the buttons in UI are not working anymore. If I click “Fix UI Input Module” it works! And then in game both players also work…
What did I do wrong?
If I put the Player Input on an other gameobject it is the same problem. Or if I do not link the eventsystem, too… any idea?
Thanks!