GetLifetimeReplicatedProps in comment causes compile error
If I add
to header file of any class that implements this function in .cpp file I get compilation error. It looks like override for GetLifetimeReplicatedProps doesn't get declared in GENERATED_BODY.
asked Aug 10 '15 at 11:02 PM in Bug Reports
Using a function in the source file who's declaration is commented out in the header file will cause compile errors since the compiler doesn't know where the declaration of the function is. Additionally, after looking at the function declaration inside Actor.h, that function is not declared virtual so it cannot be overridden in the child class. If you are using a source built version of the engine then this can be edited in the source code, otherwise you will only be able to call the function from your class without changing its functionality.
answered Aug 11 '15 at 07:05 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here