Cannot find UInputComponent on clients

Alright I see, I fixed it by making a timer, so it’s now working as it should. It probably would require a reformat of the code structure, it was just confusing for me as a new Unreal user that BeginPlay could interfere with initialization.
Thanks for the reply.