On clients I have to delay the activation of the gameplay camera component otherwise the “Input Axis Binding 2d” node errors out with “no input context found on the context owner”. The problem is the delay time is random and I can’t figure out a good way to activate it without waiting over 5 seconds.
All input actions including the look action are working on the client right away with the controls. Its just this node in the gameplay camera that can’t detect the input for some reason
Is there some setting I’m missing or someplace that will be 100% safe to activate it.
Unreal 5.7.1 using the third person template and camera setup is third person camera rig from quick start Gameplay Camera setup
The problem here is that on clients, these things do not become valid at the same time:
PlayerController exists
LocalPlayer exists
Enhanced Input Local Player Subsystem exists
Input Mapping Context is added
Gameplay Camera activates and queries input
The Gameplay Camera plugin does NOT wait for step 3–4. So when it activates early, it asks "Who owns my input context?” and the answer is “nobody yet!” leadinng to that error you are getting.
I can think about two different apporoaches to solve this without using an arbitraty delay (I will use blueprints to be graphic about this):
Activate the gameplay camera component after Enhanced Input Subsystem is valid:
With any of those approaches you should be able to activate the camera immediately after inpus are available instead of using an arbitrary delay to active it!