Skip RPC validation
Hello, I need to add a couple of RPCs into my game, however I do not require in any way for these RPCs to be validated (they do not process any key game information). The compiler though demands me to use the validation anyway and won't compile. This really just slows down my work and it's really annoying especially when dealing with multiple RPCs. Is there a way to bypass/disable the warning and let the code compile without using the validation on every single RPC I add?
asked Aug 20 '16 at 04:52 PM in C++ Programming
From my own experience and research on this topic, the answer is no.
When defining server or client UFUNCTIONs in c++, the "WithValidation" option is required, and there is no "WithoutValidation" option allowed.
You must create the corresponding validation function
in your c++ file. Even if you have no plans on using it.
Follow this question
Once you sign in you will be able to subscribe for any updates here