How to properly pass TArray variable via RPC function's parameter in C++?
The RPC function literally does nothing for testing purpose but my clients stop working/moving, rotating etc../ except server. Everything is working fine if i remove TArray parameter from RPC functions. It works if i create public replicated array and change it every frame. But the game becomes really laggy and jittery, so i really don't want to create replicated variable that's heavily modified every frame. Also there is no compiler error. How to properly pass TArray variable via RPC function's parameter? What am i doing wrong? Please help me, almost stuck on this whole three days.
Here is the Header file declaration:
Here is the CPP file definition and call:
asked Oct 13 '18 at 05:46 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here