Hello I have been trying to set up multiplayer with the new input system. I’ll give a quick description of my setup:
I have a player input manager which is set to spawn a PlayerInput prefab
The PlayerInput is as follows, I have the events hooked up to methods in the InputSender so for example when the playerInput event “move” fires, the InputSender will take it, do stuff to it and pass it on.
My issue is that if I log the events in the InputSender I am seeing this in the console:
(that is gameObject.name and a few other things)
The “PlayerInput” gameObject does not exist in the scene, only the clone but it seems like a PlayerInput prefab has been created and destroyed or something? Debugging the playerInputManager yielded no interesting results, everything was as expected and I’m totally mystified.
I have no idea where this phantom playerInput is coming from or how this is even possible.
Has anyone experienced anything like this? Or know of any bugs with how the playerInputManager creates players? I have been searching but can’t find any answers.
Thanks and let me know if you need anymore info!